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