-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
55 lines (55 loc) · 1.21 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
55
{
"parser": "babel-eslint",
"extends": "airbnb",
"env": {
"node": true,
"es6": true,
"commonjs": true,
"jest": true
},
"plugins": [
"react",
"flowtype"
],
"globals": {
"fetch": true
},
"rules": {
"strict": 0,
"arrow-body-style": 0,
"padded-blocks": 0,
"comma-dangle": 0,
"react/jsx-boolean-value": 0,
"max-len": [2, 200],
"no-use-before-define": 0,
"react/sort-comp": 0,
"no-shadow": 0,
"semi": [2, "never"],
"dot-notation": 0,
"no-underscore-dangle": 0,
"import/no-unresolved": 0,
"no-throw-literal": 0,
"no-alert": 0,
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/forbid-prop-types": [0, { }],
"linebreak-style": ["error", "unix"],
"jsx-a11y/href-no-hash": "off",
"jsx-a11y/anchor-is-valid": ["warn", { "aspects": ["invalidHref"] }],
"react/prop-types": 1,
"react/no-string-refs": 1,
"import/prefer-default-export": 0,
"import/extensions": 1,
"react/prefer-stateless-function": 1
},
"settings": {
"import/resolver": {
"node": {
"extensions": [
".js",
".android.js",
".ios.js"
]
}
}
}
}