Skip to content

Commit 713752f

Browse files
committed
Use eslint-config-atom-build
1 parent e469901 commit 713752f

File tree

2 files changed

+2
-27
lines changed

2 files changed

+2
-27
lines changed

.eslintrc

+1-25
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,4 @@
11
{
22
"parser": "babel-eslint",
3-
"rules": {
4-
"comma-dangle": 0,
5-
"default-case": 0,
6-
"func-names": 0,
7-
"indent": [ 2, 2, { "SwitchCase": 1 } ],
8-
"new-cap": [ 2, { "capIsNewExceptions": [ "XRegExp" ] } ],
9-
"no-param-reassign": 0,
10-
"no-unused-expressions": [ 2, { "allowTernary": true, "allowShortCircuit": true } ],
11-
"no-unused-vars": [ 2, { "args": "none" } ],
12-
"space-before-function-paren": [ 2, { "anonymous": "always", "named": "never" } ],
13-
"yoda": 0
14-
},
15-
"env": {
16-
"es6": true,
17-
"node": true,
18-
"browser": true,
19-
"jasmine": true
20-
},
21-
"globals": {
22-
"atom": true,
23-
"waitsForPromise": true,
24-
"fit": false,
25-
"fdescribe": false
26-
},
27-
"extends": "airbnb"
3+
"extends": "atom-build"
284
}

package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@
2424
"atom-build-spec-helpers": "^0.3.0",
2525
"babel-eslint": "^4.1.5",
2626
"eslint": "^1.10.1",
27-
"eslint-config-airbnb": "^1.0.0",
28-
"eslint-plugin-react": "^3.10.0"
27+
"eslint-config-atom-build": "^1.0.0"
2928
},
3029
"keywords": [
3130
"build",

0 commit comments

Comments
 (0)