-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
66 lines (66 loc) · 1.26 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
{
"env": {
"node": true,
"es6": true
},
"globals": {
"describe": true,
"it": true,
"beforeAll": true,
"afterAll": true,
"before": true,
"after": true,
"beforeEach": true,
"afterEach": true
},
"rules": {
"semi": [
"error",
"always"
],
"brace-style": [
2,
"1tbs",
{
"allowSingleLine": true
}
],
"camelcase": 2,
"comma-style": [
2,
"last"
],
"curly": 2,
"eqeqeq": 2,
"guard-for-in": 2,
"wrap-iife": 2,
"no-use-before-define": [
2,
"nofunc"
],
"new-cap": 2,
"quotes": [
2,
"single"
],
"no-trailing-spaces": 2,
"max-len": [
2,
120
],
"no-underscore-dangle": 0,
"strict": 2,
"no-shadow": 0,
"indent": [
"error",
4
],
"no-unused-vars": 2
},
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true
},
"ecmaVersion": 2017
}
}