-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy path.eslintrc
53 lines (53 loc) · 791 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
"extends": [
"airbnb", "eslint:recommended"
],
"plugins": [
"standard", "promise"
],
"parserOptions": {
"ecmaFeatures": {
"modules": true
}
},
"globals": {
"window": true,
"document": true,
"fetch": true,
"store": true
},
"rules": {
"no-console": 1,
"import/no-dynamic-require": 0,
"import/no-unresolved": 0,
"import/no-extraneous-dependencies": 0,
"import/extensions": 0,
"strict": 0,
"semi": 2,
"no-extra-semi": 2,
"eqeqeq": [
2, "smart"
],
"no-unused-vars": 1,
"consistent-return": 1,
"max-len": [
"error", 180
],
"space-before-function-paren": 1,
"max-statements": [
2, 50
],
"max-depth": [
2, 50
],
"complexity": [
2, 50
],
"max-params": [
2, 8
],
"max-nested-callbacks": [
2, 6
]
}
}