-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
54 lines (54 loc) · 1.23 KB
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"parser" : "babel-eslint",
"plugins": [
"import"
],
"extends" : ["airbnb"],
"rules": {
"class-methods-use-this": 0,
"comma-dangle": 0,
"default-case": 0,
"import/default": 2,
"import/export": 2,
"import/first": 0,
"import/named": 2,
"import/namespace": 2,
"import/no-unresolved": [2, {"commonjs": true}],
"import/prefer-default-export": 0,
"key-spacing": [2, {"beforeColon": false, "afterColon": true, "mode": "minimum"}],
"max-len": 0,
"new-cap": [2, {"capIsNew": false, "newIsCap": true}],
"no-floating-decimal": 0,
"no-plusplus": 0,
"no-shadow": 2,
"no-use-before-define": 0,
"react/forbid-prop-types": 0,
"react/jsx-filename-extension": 0,
"react/jsx-no-bind": 0,
"react/no-string-refs": 0,
"react/prefer-stateless-function": 0,
"react/require-default-props": 0
},
"globals": {
"console": false,
"fetch": false,
"module": false,
"process": false,
"require": false,
"window": false
},
"settings": {
"import/ignore": [
"node_modules",
"\\.json$"
],
"import/parser": "babel-eslint",
"import/resolve": {
"extensions": [
".js",
".jsx",
".json"
]
}
}
}