-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
59 lines (53 loc) · 1.28 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
{
"root": true,
"env": {
"node": true,
"es6": true,
"jest": true
},
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 8,
"ecmaFeatures": {
}
},
"rules": {
/* Errors */
"no-undef": 2,
"no-cond-assign": 2,
"no-const-assign": 2,
"no-dupe-args": 2,
"no-dupe-keys": 2,
"no-duplicate-case": 2,
"no-ex-assign": 2,
"no-func-assign": 2,
"no-inner-declarations": 2,
"no-invalid-regexp": 2,
"no-sparse-arrays": 2,
"no-unreachable": 2,
"no-console": 2,
"use-isnan": 2,
"strict": [2, "never"],
/* Warnings */
"semi": [1, "always"],
"indent": [1, 2, {"SwitchCase": 1}],
"linebreak-style": [1, "unix"],
"no-extra-semi": 1,
"valid-typeof": 1,
"semi-spacing": [1, { "before": false, "after": true }],
"brace-style": [1, "1tbs", { "allowSingleLine": true }],
"no-unused-vars": [1, { "vars": "all", "args": "none" }],
"curly": 1,
"object-curly-spacing": [1, "always"],
"keyword-spacing": [2, { "before": true, "after": true }],
"no-multi-spaces": 1,
"space-before-blocks": 1,
"no-multiple-empty-lines": [1, { "max": 1 }],
"no-spaced-func": 1,
"no-var": 1,
"prefer-const": 1,
"comma-dangle": 1,
/* Disabled */
"eqeqeq": 0
}
}