Skip to content

Commit b3a02ae

Browse files
committed
[eslint config] [breaking] [base] update eslint to v3
- drop support for node 4.
1 parent d282e05 commit b3a02ae

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

packages/eslint-config-airbnb-base/package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,17 @@
4646
"homepage": "https://github.com/airbnb/javascript",
4747
"devDependencies": {
4848
"babel-tape-runner": "^1.3.1",
49-
"eslint": "^2.13.1",
49+
"eslint": "^3.0.1",
5050
"eslint-find-rules": "^1.11.0",
5151
"eslint-plugin-import": "^1.10.2",
5252
"tape": "^4.6.0",
5353
"in-publish": "^2.0.0"
5454
},
5555
"peerDependencies": {
56-
"eslint": "^2.13.1",
56+
"eslint": "^3.0.1",
5757
"eslint-plugin-import": "^1.10.2"
58+
},
59+
"engines": {
60+
"node": ">= 4"
5861
}
5962
}

packages/eslint-config-airbnb-base/rules/style.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ module.exports = {
4747

4848
// this option sets a specific tab width for your code
4949
// http://eslint.org/docs/rules/indent
50-
indent: [2, 2, { SwitchCase: 1, VariableDeclarator: 1 }],
50+
indent: [2, 2, { SwitchCase: 1, VariableDeclarator: 1, outerIIFEBody: 1 }],
5151

5252
// specify whether double or single quotes should be used in JSX attributes
5353
// http://eslint.org/docs/rules/jsx-quotes

0 commit comments

Comments
 (0)