-
Notifications
You must be signed in to change notification settings - Fork 5
/
.eslintrc
50 lines (50 loc) · 1.06 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
{
"parser": "babel-eslint",
"extends": "airbnb",
"env": {
"browser": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"globals": {
"window": true,
"document": true
},
"rules": {
"arrow-parens": 0,
"class-methods-use-this": 0,
"compat/compat": 2,
"comma-dangle": 0,
"consistent-return": 2,
"func-names": 2,
"generator-star-spacing": [0],
"import/no-extraneous-dependencies": ["off"],
"import/extensions": 0,
"import/no-unresolved": 2,
"new-cap": 0,
"no-implicit-coercion": "error",
"no-mixed-operators": 0,
"no-plusplus": 0,
"no-use-before-define": 0,
"no-nested-ternary": 0,
"no-underscore-dangle": 0,
"no-var": "error",
"semi": ["error", "always"],
"promise/param-names": 2,
"promise/always-return": 2,
"promise/catch-or-return": 2,
"promise/no-native": 0,
"react/jsx-filename-extension": 0
},
"plugins": [
"compat",
"import",
"promise"
]
}