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/
115115 no-useless-call : 1 # disallow unnecessary calls to `.call()` and `.apply()`
116116 no-useless-concat : 1 # disallow unnecessary concatenation of literals or template literals
117117 no-useless-escape : 1 # disallow unnecessary escape characters
118+ no-useless-return : 1 # disallow redundant return statements
118119 no-void : 1 # disallow `void` operators
119120 no-warning-comments : 1 # disallow specified warning terms in comments
120121 no-with : 2 # disallow `with` statements
@@ -163,6 +164,7 @@ rules: # http://eslint.org/docs/rules/
163164 consistent-this : 0 # enforce consistent naming when capturing the current execution context
164165 eol-last : 1 # enforce at least one newline at the end of files
165166 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
166168 func-names : 0 # enforce named `function` expressions
167169 func-style : 0 # enforce the consistent use of either `function` declarations or expressions
168170 id-blacklist : 0 # disallow specified identifiers
Original file line number Diff line number Diff line change 3636 },
3737 "devDependencies" : {
3838 "chai" : " ^3.5.0" ,
39- "eslint" : " ~3.6.1 " ,
39+ "eslint" : " ~3.9.0 " ,
4040 "mocha" : " ^3.0.0"
4141 }
4242}
You can’t perform that action at this time.
0 commit comments