diff --git a/index.js b/index.js index f4a6f51..d423c3c 100644 --- a/index.js +++ b/index.js @@ -58,7 +58,6 @@ module.exports = { 'no-case-declarations': 2, 'no-div-regex': 2, 'no-else-return': 2, - 'no-empty-label': 2, 'no-empty-pattern': 2, 'no-eq-null': 2, 'no-eval': 2, @@ -136,6 +135,7 @@ module.exports = { 'indent': [2, 'tab', {SwitchCase: 1}], 'jsx-quotes': 2, 'key-spacing': [2, {beforeColon: false, afterColon: true}], + 'keyword-spacing': 2, 'linebreak-style': [2, 'unix'], 'max-nested-callbacks': [1, 4], 'new-cap': [2, {newIsCap: true, capIsNew: true}], @@ -160,13 +160,10 @@ module.exports = { 'quotes': [2, 'single'], 'semi-spacing': [2, {before: false, after: true}], 'semi': [2, 'always'], - 'space-after-keywords': [2, 'always'], - 'space-before-keywords': [2, 'always'], 'space-before-blocks': [2, 'always'], 'space-before-function-paren': [2, {anonymous: 'always', named: 'never'}], 'space-in-parens': [2, 'never'], 'space-infix-ops': 2, - 'space-return-throw-case': 2, 'space-unary-ops': 2, 'spaced-comment': [2, 'always', {markers: ['!']}], diff --git a/package.json b/package.json index 4d91285..4467720 100644 --- a/package.json +++ b/package.json @@ -55,12 +55,12 @@ "devDependencies": { "ava": "*", "babel-eslint": "^4.1.0", - "eslint": "^1.9.0", + "eslint": "^2.0.0", "eslint-plugin-babel": "^3.0.0", "is-plain-obj": "^1.0.0", "temp-write": "^2.1.0" }, "peerDependencies": { - "eslint": ">=1.9.0" + "eslint": ">=2" } }