File tree 3 files changed +8
-19
lines changed
3 files changed +8
-19
lines changed Original file line number Diff line number Diff line change 1
1
{
2
+ "extends": "cooperka/react-native",
3
+
2
4
"parser": "babel-eslint",
3
5
4
6
"env": {
5
7
"jest": true
6
8
},
7
9
8
- "plugins": [
9
- "react",
10
- "react-native"
11
- ],
12
-
13
- "extends": "airbnb",
14
-
15
10
"rules": {
16
- "new-cap": [2, {
17
- "capIsNewExceptions": [
18
- "Map", "Set", "List" // Immutable.js
19
- ]
20
- }],
21
- "arrow-body-style": 0,
22
- "arrow-parens": 0,
23
- "class-methods-use-this": 0,
24
- "max-len": [2, 120],
25
-
26
- "react/jsx-filename-extension": 0,
27
- "react/prefer-stateless-function": 0
11
+ "react-native/no-color-literals": "off"
28
12
},
29
13
30
14
"globals": {
Original file line number Diff line number Diff line change 58
58
"babel-preset-react-native" : " ~1.9.1" ,
59
59
"eslint" : " ~3.14.0" ,
60
60
"eslint-config-airbnb" : " ~14.0.0" ,
61
+ "eslint-config-cooperka" : " ~0.2.4" ,
61
62
"eslint-plugin-import" : " ~2.2.0" ,
62
63
"eslint-plugin-jsx-a11y" : " ~3.0.2" ,
63
64
"eslint-plugin-react" : " ~6.9.0" ,
Original file line number Diff line number Diff line change @@ -1552,6 +1552,10 @@ eslint-config-airbnb@~14.0.0:
1552
1552
dependencies :
1553
1553
eslint-config-airbnb-base "^11.0.1"
1554
1554
1555
+ eslint-config-cooperka@~0.2.4 :
1556
+ version "0.2.4"
1557
+ resolved "https://registry.yarnpkg.com/eslint-config-cooperka/-/eslint-config-cooperka-0.2.4.tgz#db5539f4d295fe75178f14f50b4027fc9df73dc7"
1558
+
1555
1559
eslint-import-resolver-node@^0.2.0 :
1556
1560
version "0.2.3"
1557
1561
resolved "https://registry.yarnpkg.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.2.3.tgz#5add8106e8c928db2cba232bcd9efa846e3da16c"
You can’t perform that action at this time.
0 commit comments