File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -115,6 +115,7 @@ rules: # http://eslint.org/docs/rules/
115
115
no-useless-call : 1 # disallow unnecessary calls to `.call()` and `.apply()`
116
116
no-useless-concat : 1 # disallow unnecessary concatenation of literals or template literals
117
117
no-useless-escape : 1 # disallow unnecessary escape characters
118
+ no-useless-return : 1 # disallow redundant return statements
118
119
no-void : 1 # disallow `void` operators
119
120
no-warning-comments : 1 # disallow specified warning terms in comments
120
121
no-with : 2 # disallow `with` statements
@@ -163,6 +164,7 @@ rules: # http://eslint.org/docs/rules/
163
164
consistent-this : 0 # enforce consistent naming when capturing the current execution context
164
165
eol-last : 1 # enforce at least one newline at the end of files
165
166
func-call-spacing : 1 # require or disallow spacing between `function` identifiers and their invocations
167
+ func-name-matching : 1 # require function names to match the name of the variable or property to which they are assigned
166
168
func-names : 0 # enforce named `function` expressions
167
169
func-style : 0 # enforce the consistent use of either `function` declarations or expressions
168
170
id-blacklist : 0 # disallow specified identifiers
Original file line number Diff line number Diff line change 36
36
},
37
37
"devDependencies" : {
38
38
"chai" : " ^3.5.0" ,
39
- "eslint" : " ~3.6.1 " ,
39
+ "eslint" : " ~3.9.0 " ,
40
40
"mocha" : " ^3.0.0"
41
41
}
42
42
}
You can’t perform that action at this time.
0 commit comments