mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-13 23:37:55 -05:00
[eslint config] [breaking] [base] update eslint to v3
- drop support for node 4.
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user