-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc
37 lines (37 loc) · 835 Bytes
/
.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
{
"extends": "eslint-config-airbnb",
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
},
"rules": {
"react/no-multi-comp": 0,
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"import/default": 0,
"import/no-duplicates": 0,
"import/named": 0,
"import/namespace": 0,
"import/no-unresolved": 0,
"comma-dangle": 0,
"import/no-named-as-default": 2,
"indent": [2, 2, {"SwitchCase": 1}],
"no-console": 0,
"no-underscore-dangle": ["error", { "allowAfterThis": true }],
"no-alert": 0,
"eqeqeq" : 1
},
"plugins": [
"react"
],
"settings": {
"import/resolve": {
moduleDirectory: ["node_modules", "src"]
}
},
"globals": {
"__DEVELOPMENT__": true,
"__DEBUG__": true,
"__SERVER__": true,
}
}