diff options
-rw-r--r-- | .eslintrc | 3 | ||||
-rw-r--r-- | package.json | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -32,6 +32,7 @@ "no-self-compare": 2, "no-space-before-semi": 2, "no-spaced-func": 2, + "no-throw-literal": 2, "no-trailing-spaces": 2, "no-underscore-dangle": 0, "no-void": 2, @@ -40,9 +41,9 @@ "quotes": 0, "radix": 2, "semi": [2, "always"], - "space-after-function-name": [2, "never"], "space-after-keywords": [2, "always", {"checkFunctionKeyword": true}], "space-before-blocks": [2, "always"], + "space-before-function-parentheses": [2, {"anonymous": "always", "named": "never"}], "space-in-brackets": [2, "never"], "space-in-parens": [2, "never"], "space-return-throw-case": 2, diff --git a/package.json b/package.json index 0ac1a5e..027718d 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "grunt-browserify": "^3.2.1", "grunt-contrib-jshint": "^0.11.0", "grunt-contrib-nodeunit": "^0.4.1", - "grunt-eslint": "^6.0.0", + "grunt-eslint": "^7.0.0", "grunt-jscs": "^1.5.0", "jscs-jsdoc": "^0.4.0", "load-grunt-tasks": "^3.0.0", |