-
Notifications
You must be signed in to change notification settings - Fork 8
/
.eslintrc
40 lines (40 loc) · 916 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
{
"env": {
"node": true,
},
"rules": {
"valid-jsdoc": [2, {
"prefer": { "return": "returns" },
"requireReturn": true,
"requireParamDescription": true,
"requireReturnDescription": true
}],
"camelcase": 1,
"key-spacing": [2, { align: "value" }],
"no-multi-spaces": 0,
"comma-spacing": 1,
"comma-style": [2, "first"],
"consistent-return": 0,
"eol-last": 1,
"indent": [1, 4],
"no-use-before-define": [2, "nofunc"],
"no-process-exit": 0,
"no-trailing-spaces": 1,
"no-underscore-dangle": 0,
"no-unused-vars": 1,
"space-infix-ops": 1,
"quotes": [1, "single"],
"semi": [1, "always"],
"semi-spacing": 1,
"strict": [2, "global"],
"yoda": [1, "never"]
},
"globals": {
"describe": true,
"it": true,
"before": true,
"beforeEach": true,
"after": true,
"afterEach": true
}
}