@@ -34,7 +34,7 @@ rules: # http://eslint.org/docs/rules/
3434 no-empty-character-class : 2 # disallow empty character classes in regular expressions
3535 no-ex-assign : 2 # disallow reassigning exceptions in `catch` clauses
3636 no-extra-boolean-cast : 2 # disallow unnecessary boolean casts
37- no-extra-parens : [1 , 'all', {returnAssign: false, nestedBinaryExpressions: false}] # disallow unnecessary parentheses
37+ no-extra-parens : [0 , 'all', {returnAssign: false, nestedBinaryExpressions: false}] # disallow unnecessary parentheses
3838 no-extra-semi : 2 # disallow unnecessary semicolons
3939 no-func-assign : 2 # disallow reassigning `function` declarations
4040 no-inner-declarations : [2, 'functions'] # disallow `function` or `var` declarations in nested blocks
@@ -87,7 +87,7 @@ rules: # http://eslint.org/docs/rules/
8787 no-lone-blocks : 1 # disallow unnecessary nested blocks
8888 no-loop-func : 1 # disallow `function` declarations and expressions inside loop statements
8989 no-magic-numbers : [0, {ignore: [0, 1, 24, 60]}] # disallow magic numbers
90- no-multi-spaces : 1 # disallow multiple spaces
90+ no-multi-spaces : [0, {exceptions: {VariableDeclarator: true, Property: true}}] # disallow multiple spaces
9191 no-multi-str : 1 # disallow multiline strings
9292 no-native-reassign : 2 # disallow reassigning native objects
9393 # no-new: 1 # disallow new operators outside of assignments or comparisons
@@ -120,7 +120,7 @@ rules: # http://eslint.org/docs/rules/
120120 yoda : 0 # require or disallow “Yoda” conditions
121121
122122 # Strict Mode
123- strict : 1 # require or disallow strict mode directives
123+ strict : 0 # require or disallow strict mode directives
124124
125125 # Variables
126126 init-declarations : 0 # require or disallow initialization in `var` declarations
@@ -161,7 +161,7 @@ rules: # http://eslint.org/docs/rules/
161161 func-names : 0 # enforce named `function` expressions
162162 func-style : 0 # enforce the consistent use of either `function` declarations or expressions
163163 id-blacklist : 0 # disallow specified identifiers
164- id-length : 1 # enforce minimum and maximum identifier lengths
164+ id-length : [1, {exceptions: [_, $, i, j, k]}] # enforce minimum and maximum identifier lengths
165165 id-match : 0 # require identifiers to match a specified regular expression
166166 indent : [0, 2, {SwitchCase: 1, VariableDeclarator: {var: 2, let: 2, const: 3}}] # enforce consistent indentation
167167 jsx-quotes : [1, 'prefer-double'] # enforce the consistent use of either double or single quotes in JSX attributes
0 commit comments