-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc
70 lines (70 loc) · 1.78 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
"extends": "airbnb",
"plugins": ["import"],
"globals": {
"window": true,
"document": true,
"navigator": true,
"DocumentFragment": true,
"Notification": true,
"self": true,
"caches": true,
"fetch": true,
"importScripts": true,
"firebase": true,
"IndexedDb": true,
"indexedDB": true,
"AppConfig": true,
"location": true
},
"rules": {
"arrow-parens": "off",
"comma-dangle": "off",
"no-use-before-define": "off",
"no-alert": "off",
"max-len": ["warn", 200],
"arrow-body-style": ["error", "as-needed"],
"indent": [
"error",
4,
{
"SwitchCase": 1
}
],
"prefer-arrow-callback": "off",
"no-shadow": "off",
"wrap-iife": "off",
"no-param-reassign": "error",
"space-before-function-paren": [
"error",
{
"anonymous": "never",
"named": "never",
"asyncArrow": "ignore"
}
],
"eqeqeq": "warn",
"no-underscore-dangle": 0,
"class-methods-use-this": 0,
"no-plusplus": [
"error",
{
"allowForLoopAfterthoughts": true
}
],
"linebreak-style": 0,
"no-confusing-arrow": 0,
"function-paren-newline": "off",
"object-curly-newline": [
"error",
{
"multiline": true
}
],
"no-restricted-globals": "off",
"func-names": 0,
"import/extensions": ["error", "always"],
"import/no-extraneous-dependencies": "off",
"no-console": "off"
}
}