@@ -25,7 +25,7 @@ Settings.loadDefault = function()
2525{
2626 //General
2727 Settings . general = {
28- autoUpdate : true ,
28+ autoUpdate : false ,
2929 theme : "dark" ,
3030 filePreviewSize : 70 ,
3131 showStats : false ,
@@ -92,48 +92,48 @@ Settings.loadDefault = function()
9292 bitwise : false , // true: Prohibit bitwise operators (&, |, ^, etc.)
9393 curly : false , // true: Require {} for every new block or scope
9494 eqeqeq : false , // true: Require triple equals (===) for comparison
95- forin : true , // true: Require filtering for..in loops with obj.hasOwnProperty()
95+ forin : false , // true: Require filtering for..in loops with obj.hasOwnProperty()
9696 freeze : true , // true: prohibits overwriting prototypes of native objects such as Array, Date etc.
9797 latedef : false , // true: Require variables/functions to be defined before being used
9898 noarg : true , // true: Prohibit use of `arguments.caller` and `arguments.callee`
9999 nonbsp : true , // true: Prohibit non-breaking whitespace characters.
100100 nonew : false , // true: Prohibit use of constructors for side-effects (without assignment)
101101 plusplus : false , // true: Prohibit use of `++` and `--`
102- undef : true , // true: Require all non-global variables to be declared (prevents global leaks)
102+ undef : false , // true: Require all non-global variables to be declared (prevents global leaks)
103103 unused : true , // Unused variables:
104104 // true : all variables, last function parameter
105105 // "vars" : all variables only
106106 // "strict" : all variables, all function parameters
107- strict : true , // true: Requires all functions run in ES5 Strict Mode
107+ strict : false , // true: Requires all functions run in ES5 Strict Mode
108108 maxparams : false , // {int} Max number of formal params allowed per function
109109 maxdepth : false , // {int} Max depth of nested blocks (within functions)
110110 maxstatements : false , // {int} Max number statements per function
111111 maxcomplexity : false , // {int} Max cyclomatic complexity per function
112112 varstmt : false , // true: Disallow any var statements. Only `let` and `const` are allowed.
113113
114114 //Relaxing
115- asi : false , // true: Tolerate Automatic Semicolon Insertion (no semicolons)
116- boss : false , // true: Tolerate assignments where comparisons would be expected
117- debug : false , // true: Allow debugger statements e.g. browser breakpoints.
115+ asi : true , // true: Tolerate Automatic Semicolon Insertion (no semicolons)
116+ boss : true , // true: Tolerate assignments where comparisons would be expected
117+ debug : true , // true: Allow debugger statements e.g. browser breakpoints.
118118 eqnull : true , // true: Tolerate use of `== null`
119119 esversion : 6 , // {int} Specify the ECMAScript version to which the code must adhere.
120- moz : false , // true: Allow Mozilla specific syntax (extends and overrides esnext features)
120+ moz : true , // true: Allow Mozilla specific syntax (extends and overrides esnext features)
121121 // (ex: `for each`, multiple try/catch, function expression…)
122122 evil : true , // true: Tolerate use of `eval` and `new Function()`
123- expr : false , // true: Tolerate `ExpressionStatement` as Programs
124- funcscope : false , // true: Tolerate defining variables inside control statements
125- iterator : false , // true: Tolerate using the `__iterator__` property
126- lastsemic : false , // true: Tolerate omitting a semicolon for the last statement of a 1-line block
123+ expr : true , // true: Tolerate `ExpressionStatement` as Programs
124+ funcscope : true , // true: Tolerate defining variables inside control statements
125+ iterator : true , // true: Tolerate using the `__iterator__` property
126+ lastsemic : true , // true: Tolerate omitting a semicolon for the last statement of a 1-line block
127127 laxbreak : false , // true: Tolerate possibly unsafe line breakings
128- loopfunc : false , // true: Tolerate functions being defined in loops
128+ loopfunc : true , // true: Tolerate functions being defined in loops
129129 noyield : false , // true: Tolerate generator functions with no yield statement in them.
130- notypeof : false , // true: Tolerate invalid typeof operator values
131- proto : false , // true: Tolerate using the `__proto__` property
130+ notypeof : true , // true: Tolerate invalid typeof operator values
131+ proto : true , // true: Tolerate using the `__proto__` property
132132 scripturl : false , // true: Tolerate script-targeted URLs
133- shadow : false , // true: Allows re-define variables later in code e.g. `var x=1; x=2;`
133+ shadow : true , // true: Allows re-define variables later in code e.g. `var x=1; x=2;`
134134 sub : true , // true: Tolerate using `[]` notation when it can still be expressed in dot notation
135135 supernew : true , // true: Tolerate `new function () { ... };` and `new Object;`
136- validthis : false , // true: Tolerate using this in a non-constructor function
136+ validthis : true , // true: Tolerate using this in a non-constructor function
137137
138138 //Environment
139139 browser : true , // Web Browser (window, document, etc)
0 commit comments