From c12f5e51a8e00b6bf0da6a8905d36d5d91de4ebb Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Mon, 23 Mar 2015 12:06:18 -0700 Subject: Upgrade to grunt-eslint ^9.0.0 --- .eslintrc | 6 +++++- package.json | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.eslintrc b/.eslintrc index 41c85eb..7f4bef0 100644 --- a/.eslintrc +++ b/.eslintrc @@ -19,7 +19,10 @@ "no-array-constructor": 2, "no-bitwise": 2, "no-constant-condition": 0, + "no-dupe-args": 2, + "no-duplicate-case": 2, "no-eval": 2, + "no-extra-strict": 0, "no-floating-decimal": 2, "no-implied-eval": 2, "no-inline-comments": 0, @@ -31,7 +34,6 @@ "no-process-env": 2, "no-reserved-keys": 0, "no-self-compare": 2, - "no-space-before-semi": 2, "no-spaced-func": 2, "no-throw-literal": 2, "no-trailing-spaces": 2, @@ -42,6 +44,7 @@ "quotes": 0, "radix": 2, "semi": [2, "always"], + "semi-spacing": [2, {"before": false, "after": true}], "space-after-keywords": [2, "always", {"checkFunctionKeyword": true}], "space-before-blocks": [2, "always"], "space-before-function-parentheses": [2, {"anonymous": "always", "named": "never"}], @@ -50,6 +53,7 @@ "space-return-throw-case": 2, "space-unary-ops": [2, {"words": true, "nonwords": false}], "spaced-line-comment": [2, "always"], + "strict": [2, "global"], "vars-on-top": 0, "wrap-iife": [2, "inside"], "yoda": [2, "never"] diff --git a/package.json b/package.json index f5e57f3..ac30e9b 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "grunt-contrib-clean": "^0.6.0", "grunt-contrib-jshint": "^0.11.0", "grunt-contrib-nodeunit": "^0.4.1", - "grunt-eslint": "^7.0.0", + "grunt-eslint": "^9.0.0", "grunt-jscs": "^1.5.0", "load-grunt-tasks": "^3.1.0" }, -- cgit v1.2.3