Summary:
This option prohibits overwriting prototypes of native objects such as `Array`, `Date` and so on.
```lang=js
// jshint freeze:true
Array.prototype.count = function (value) { return 4; };
// -> Warning: Extending prototype of native object: 'Array'.
```
Test Plan: Linted existing JavaScript files, found no violations.
Reviewers: epriestley, #blessed_reviewers
Reviewed By: epriestley, #blessed_reviewers
Subscribers: Korvin, epriestley
Differential Revision: https://secure.phabricator.com/D11439
		
	
		
			
				
	
	
		
			25 lines
		
	
	
		
			354 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			354 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
{
 | 
						|
  "bitwise": true,
 | 
						|
  "curly": true,
 | 
						|
  "freeze": true,
 | 
						|
  "immed": true,
 | 
						|
  "indent": 2,
 | 
						|
  "latedef": true,
 | 
						|
  "newcap": true,
 | 
						|
  "noarg": true,
 | 
						|
  "quotmark": "single",
 | 
						|
  "undef": true,
 | 
						|
  "unused": true,
 | 
						|
 | 
						|
  "expr": true,
 | 
						|
  "loopfunc": true,
 | 
						|
  "sub": true,
 | 
						|
 | 
						|
  "globals": {
 | 
						|
    "JX": false,
 | 
						|
    "Raphael": false,
 | 
						|
    "__DEV__": false
 | 
						|
  },
 | 
						|
  "browser": true
 | 
						|
}
 |