-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
47 lines (47 loc) · 1.04 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
{
"extends": "airbnb",
"env": {
"node": true
},
"globals": {
"expect": true,
"describe": true,
"it": true,
"xdescribe": true,
"xit": true,
"fdescribe": true,
"fit": true,
"before": true,
"after": true,
"beforeEach": true,
"afterEach": true,
"Array.args": true,
"$$": true,
"create": true,
},
"rules": {
"no-var": 0,
"comma-dangle": [2, "never"],
"no-space-before-semi": 0,
"space-after-function-name": 0,
"semi-spacing": [2, { "before": false, "after": true }],
"no-param-reassign": 0,
"spaced-line-comment": 0,
"indent": [2, 2, { "SwitchCase": 1 }],
"default-case": 1,
"prefer-arrow-callback": 0,
"prefer-template": 0,
"space-before-function-paren": 0,
"curly": 0,
#"no-extend-native": 0,
"func-names": 0,
"one-var": 0,
"one-var-declaration-per-line": 0,
"no-unused-vars": 1,
"vars-on-top": 0,
"prefer-rest-params": 0,
"strict": [2, "safe"],
"dot-notation": 1,
"class-methods-use-this": 0
}
}