-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc
45 lines (45 loc) · 1.05 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
{
"root": true,
"plugins": ["react", "babel"],
"extends": "airbnb",
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 2017,
"ecmaFeatures": {
"jsx": true,
"modules": true,
"experimentalObjectRestSpread": true,
"arrowFunctions": true,
"destructuring": true,
"blockBindings": true
}
},
"env": {
"es6": true,
"browser": true,
"node": true
},
"rules": {
"strict": 0,
"jsx-a11y/no-static-element-interactions": 0,
"import/no-unresolved": [1],
"import/extensions": 0,
"indent": [2, 2, { "SwitchCase": 1 }],
"comma-dangle": 0,
"no-console": 0,
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/prop-types": 0,
"eqeqeq": 1,
"max-len": [
1,
{
"code": 120,
"ignoreUrls": true,
"ignoreTrailingComments": true,
"ignoreComments": true,
"ignorePattern": "^\\s*(const|let|var)\\s+\\w+\\s+\\=\\s+\\/.*\\/(|i|g|m|ig|im|gm|igm);?$"
}
]
}
}