Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Commit 8c5a6d4

Browse files
committed
Update eslint config
1 parent 151bc02 commit 8c5a6d4

File tree

2 files changed

+4
-29
lines changed

2 files changed

+4
-29
lines changed

.eslintrc

Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,11 @@
11
{
2-
"extends": "airbnb",
2+
"extends": "eslint-config-dabapps/react-native/.eslintrc",
33
"plugins": [
44
"react",
5-
"react-native"
5+
"react-native",
6+
"import"
67
],
78
"env": {
89
"mocha": true
9-
},
10-
"rules": {
11-
"no-unused-vars": [2, {"vars": "all", "args": "none"}],
12-
"comma-dangle": 0,
13-
"func-names": 0,
14-
"prefer-arrow-callback": 0,
15-
"global-require": 0,
16-
"react/prefer-es6-class": 0,
17-
"no-underscore-dangle": 0,
18-
"prefer-rest-params": 0,
19-
"guard-for-in": 0,
20-
"no-restricted-syntax": 0,
21-
"prefer-template": 0,
22-
"no-console": 0,
23-
"max-len": [
24-
2,
25-
120,
26-
2,
27-
{
28-
"ignoreComments": true
29-
}
30-
]
3110
}
3211
}

package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,8 @@
4242
"babel-cli": "=6.9.0",
4343
"chai": "=3.5.0",
4444
"enzyme": "=2.6.0",
45-
"eslint": "2.10.2",
46-
"eslint-config-airbnb": "9.0.1",
45+
"eslint-config": "git://github.com/dabapps/eslint-config.git#2.0.3",
4746
"eslint-plugin-import": "1.8.0",
48-
"eslint-plugin-jsx-a11y": "1.2.2",
49-
"eslint-plugin-react": "5.1.1",
50-
"eslint-plugin-react-native": "1.0.2",
5147
"mocha": "3.2.0",
5248
"mocka": "0.0.1",
5349
"react": "^15.4.1",

0 commit comments

Comments
 (0)