@@ -34,7 +34,7 @@ rules: # http://eslint.org/docs/rules/
34
34
no-empty-character-class : 2 # disallow empty character classes in regular expressions
35
35
no-ex-assign : 2 # disallow reassigning exceptions in `catch` clauses
36
36
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
38
38
no-extra-semi : 2 # disallow unnecessary semicolons
39
39
no-func-assign : 2 # disallow reassigning `function` declarations
40
40
no-inner-declarations : [2, 'functions'] # disallow `function` or `var` declarations in nested blocks
@@ -87,7 +87,7 @@ rules: # http://eslint.org/docs/rules/
87
87
no-lone-blocks : 1 # disallow unnecessary nested blocks
88
88
no-loop-func : 1 # disallow `function` declarations and expressions inside loop statements
89
89
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
91
91
no-multi-str : 1 # disallow multiline strings
92
92
no-native-reassign : 2 # disallow reassigning native objects
93
93
# no-new: 1 # disallow new operators outside of assignments or comparisons
@@ -120,7 +120,7 @@ rules: # http://eslint.org/docs/rules/
120
120
yoda : 0 # require or disallow “Yoda” conditions
121
121
122
122
# Strict Mode
123
- strict : 1 # require or disallow strict mode directives
123
+ strict : 0 # require or disallow strict mode directives
124
124
125
125
# Variables
126
126
init-declarations : 0 # require or disallow initialization in `var` declarations
@@ -161,7 +161,7 @@ rules: # http://eslint.org/docs/rules/
161
161
func-names : 0 # enforce named `function` expressions
162
162
func-style : 0 # enforce the consistent use of either `function` declarations or expressions
163
163
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
165
165
id-match : 0 # require identifiers to match a specified regular expression
166
166
indent : [0, 2, {SwitchCase: 1, VariableDeclarator: {var: 2, let: 2, const: 3}}] # enforce consistent indentation
167
167
jsx-quotes : [1, 'prefer-double'] # enforce the consistent use of either double or single quotes in JSX attributes
0 commit comments