-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc.json
52 lines (52 loc) · 1.26 KB
/
.eslintrc.json
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
{
"env": {
"node": true,
"es6": true
},
"rules": {
"semi": 2,
"comma-dangle": 2,
"no-undef": 2,
"no-extra-semi": 2,
"no-eval": 2,
"no-underscore-dangle": 0,
"eqeqeq": [2, "smart"],
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
"no-console": 2,
"no-plusplus": 2,
"space-unary-ops": [2, { "words": true, "nonwords": false }],
"no-unused-vars": 2,
"no-trailing-spaces": [2, { "skipBlankLines": true }],
"no-unreachable": 2,
"no-alert": 2,
"indent": [2, 4, { "SwitchCase": 1 }],
"no-var": 1,
"no-cond-assign": 2,
"no-constant-condition": 2,
"no-empty": [2, { "allowEmptyCatch": true }],
"no-sparse-arrays": 2,
"no-inner-declarations": 2,
"no-func-assign": 2,
"no-dupe-keys": 2,
"no-duplicate-case": 2,
"no-case-declarations": 0,
"no-dupe-args": 2,
"no-else-return": 2,
"no-redeclare": 2,
"no-labels": 2,
"no-delete-var": 2,
"no-undefined": 2,
"no-mixed-spaces-and-tabs": 2,
"require-yield": 1,
"arrow-spacing": 2,
"arrow-parens": [2, "as-needed"]
},
"parserOptions": {
"sourceType": "module",
"ecmaFeatures": {
"spread": true,
"impliedStrict": true,
"experimentalObjectRestSpread": true
}
}
}