Skip to content

Commit d9ae229

Browse files
authored
Merge pull request #67 from serverless/update-eslint-usage
Update eslint usage
2 parents 89b67f9 + 7043e17 commit d9ae229

File tree

2 files changed

+14
-19
lines changed

2 files changed

+14
-19
lines changed

.eslintrc.js

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
module.exports = {
2-
"extends": "airbnb-base",
3-
"plugins": [
4-
"import"
5-
],
6-
"rules": {
7-
"func-names": "off",
2+
"extends": "airbnb-base",
3+
"plugins": ["import"],
4+
"rules": {
5+
"func-names": "off",
86

9-
// support for node v4
10-
"strict": "off",
11-
"prefer-rest-params": "off",
12-
"react/require-extension" : "off",
13-
"import/no-extraneous-dependencies" : "off"
14-
},
15-
"env": {
16-
"jest": true
7+
// support for node v4
8+
"strict": "off",
9+
"prefer-rest-params": "off",
10+
"react/require-extension" : "off",
11+
"import/no-extraneous-dependencies" : "off"
12+
},
13+
"env": {
14+
"jest": true
1715
}
1816
};

package.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,9 @@
3434
},
3535
"devDependencies": {
3636
"coveralls": "^2.11.16",
37-
"eslint": "^3.15.0",
38-
"eslint-config-airbnb": "^14.1.0",
39-
"eslint-config-airbnb-base": "^11.1.0",
37+
"eslint": "^3.19.0",
38+
"eslint-config-airbnb-base": "^11.2.0",
4039
"eslint-plugin-import": "^2.2.0",
41-
"eslint-plugin-jsx-a11y": "^4.0.0",
42-
"eslint-plugin-react": "^6.9.0",
4340
"jest": "^19.0.2",
4441
"sinon": "^1.17.7"
4542
}

0 commit comments

Comments
 (0)