Skip to content

Commit 1bea7b5

Browse files
greenkeeperio-botglebec
authored andcommitted
Update eslint to version 3.9.0 🚀 (#19)
* chore(package): update eslint to version 3.9.0 https://greenkeeper.io/ * support eslint 3.9.0
1 parent 1ed8edc commit 1bea7b5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.eslintrc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
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
}

0 commit comments

Comments
 (0)