From d2e94aeabbaa5c950428cd80a13c4d03d7e707f6 Mon Sep 17 00:00:00 2001 From: Simon Boudrias Date: Sun, 14 Feb 2016 14:59:51 -0800 Subject: [PATCH] Update to ESLint 2 --- .eslintrc | 9 ++------- package.json | 9 +++++---- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/.eslintrc b/.eslintrc index 703c3c8..ea57087 100644 --- a/.eslintrc +++ b/.eslintrc @@ -47,10 +47,7 @@ 2, "always" ], - "space-after-keywords": [ - 2, - "always" - ], + "keyword-spacing": 2, "space-before-function-paren": [ 2, { @@ -94,7 +91,6 @@ "no-alert": 2, "no-caller": 2, "no-console": 0, - "no-empty-label": 2, "no-extend-native": 2, "no-extra-bind": 2, "no-implied-eval": 2, @@ -135,7 +131,6 @@ "before": false, "after": true } - ], - "space-return-throw-case": 2 + ] } } diff --git a/package.json b/package.json index 47564e5..63f733e 100644 --- a/package.json +++ b/package.json @@ -14,14 +14,15 @@ ], "repository": "yeoman/yeoman-test", "devDependencies": { + "eslint": "^2.0.0", "gulp": "^3.6.0", - "gulp-eslint": "^1.0.0", + "gulp-coveralls": "^0.1.0", + "gulp-eslint": "^2.0.0", "gulp-exclude-gitignore": "^1.0.0", - "gulp-istanbul": "^0.9.0", + "gulp-istanbul": "^0.10.3", "gulp-mocha": "^2.0.0", - "gulp-plumber": "^1.0.0", "gulp-nsp": "^2.1.0", - "gulp-coveralls": "^0.1.0" + "gulp-plumber": "^1.0.0" }, "scripts": { "prepublish": "gulp prepublish",