-
Notifications
You must be signed in to change notification settings - Fork 7
/
.eslintrc.json
72 lines (68 loc) · 1.54 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"env": {
"es6": true,
"node": true
},
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 7,
"ecmaFeatures": {
"impliedStrict": true
}
},
"rules": {
"valid-jsdoc": 1,
"block-scoped-var": 2,
"curly": 2,
"default-case": 2,
"dot-location": [2, "property"],
"eqeqeq": 2,
"no-else-return": 1,
"no-eval": 2,
"no-loop-func": 1,
"no-multi-spaces": 1,
"no-param-reassign": 2,
"no-unused-expressions": 1,
"no-unused-vars": 2,
"no-warning-comments": 1,
"no-with": 2,
"require-await": 2,
"strict": 1,
"no-shadow": 1,
"no-undef": 2,
"no-undefined": 2,
"array-bracket-spacing": 2,
"block-spacing": 2,
"brace-style": [2, "1tbs"],
"comma-spacing": 2,
"comma-style": 2,
"computed-property-spacing": 2,
"eol-last": 1,
"func-call-spacing": 2,
"indent": [2, "tab", {"SwitchCase": 1}],
"key-spacing": 2,
"keyword-spacing": 2,
"line-comment-position": 1,
"linebreak-style": 2,
"lines-around-comment": 2,
"lines-between-class-members": 2,
"new-parens": 2,
"no-array-constructor": 2,
"no-whitespace-before-property": 2,
"object-curly-newline": [2, {"consistent": true}],
"object-curly-spacing": 2,
"quotes": 1,
"semi": 2,
"space-before-blocks": 2,
"space-before-function-paren": [2, {"anonymous": "always", "named": "never", "asyncArrow": "always"}],
"space-in-parens": 2,
"space-infix-ops": 2,
"space-unary-ops": 2,
"spaced-comment": 1,
"switch-colon-spacing": 2,
"arrow-spacing": 2,
"prefer-const": 1,
"prefer-template": 2,
"template-curly-spacing": 2
}
}