@@ -99,7 +99,7 @@ rules: # http://eslint.org/docs/rules/
99
99
no-proto : 2 # disallow the use of the `__proto__` property
100
100
no-redeclare : [1, {builtinGlobals: true}] # disallow `var` redeclaration
101
101
no-return-assign : [1, 'always'] # disallow assignment operators in `return` statements
102
- no-script-url : 2 # disallow `javascript: ` urls
102
+ no-script-url : 2 # disallow `javascript` urls
103
103
no-self-assign : 2 # disallow assignments where both sides are exactly the same
104
104
no-self-compare : 2 # disallow comparisons where both sides are exactly the same
105
105
no-sequences : 1 # disallow comma operators
@@ -136,7 +136,7 @@ rules: # http://eslint.org/docs/rules/
136
136
no-use-before-define : [1, 'nofunc'] # disallow the use of variables before they are defined
137
137
138
138
# Node.js and CommonJS
139
- callback-return : 1 # require `return` statements after callbacks
139
+ callback-return : 0 # require `return` statements after callbacks
140
140
global-require : 1 # require `require()` calls to be placed at top-level module scope
141
141
handle-callback-err : [2, '^(err|error|.+Error$)'] # require error handling in max-nested-callbacks
142
142
no-mixed-requires : 1 # disallow `require` calls to be mixed with regular `var` declarations
@@ -164,7 +164,7 @@ rules: # http://eslint.org/docs/rules/
164
164
id-match : 0 # require identifiers to match a specified regular expression
165
165
indent : [0, 2, {SwitchCase: 1, VariableDeclarator: {var: 2, let: 2, const: 3}}] # enforce consistent indentation
166
166
jsx-quotes : [1, 'prefer-double'] # enforce the consistent use of either double or single quotes in JSX attributes
167
- key-spacing : [0 , {align : 'value '}] # enforce consistent spacing between keys and values in object literal properties
167
+ key-spacing : [1 , {mode : 'minimum '}] # enforce consistent spacing between keys and values in object literal properties
168
168
keyword-spacing : 1 # enforce consistent spacing before and after keywords
169
169
linebreak-style : 1 # enforce consistent linebreak style
170
170
lines-around-comment : 0 # require empty lines around comments
0 commit comments