[eslint config] [breaking] [base] update eslint to v3

- drop support for node 4.
This commit is contained in:
Jordan Harband
2016-07-02 08:54:05 -07:00
parent d282e059b1
commit b3a02ae982
2 changed files with 6 additions and 3 deletions

View File

@@ -46,14 +46,17 @@
"homepage": "https://github.com/airbnb/javascript",
"devDependencies": {
"babel-tape-runner": "^1.3.1",
"eslint": "^2.13.1",
"eslint": "^3.0.1",
"eslint-find-rules": "^1.11.0",
"eslint-plugin-import": "^1.10.2",
"tape": "^4.6.0",
"in-publish": "^2.0.0"
},
"peerDependencies": {
"eslint": "^2.13.1",
"eslint": "^3.0.1",
"eslint-plugin-import": "^1.10.2"
},
"engines": {
"node": ">= 4"
}
}

View File

@@ -47,7 +47,7 @@ module.exports = {
// this option sets a specific tab width for your code
// http://eslint.org/docs/rules/indent
indent: [2, 2, { SwitchCase: 1, VariableDeclarator: 1 }],
indent: [2, 2, { SwitchCase: 1, VariableDeclarator: 1, outerIIFEBody: 1 }],
// specify whether double or single quotes should be used in JSX attributes
// http://eslint.org/docs/rules/jsx-quotes