-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.eslintrc-core.json
38 lines (38 loc) · 1.3 KB
/
.eslintrc-core.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
{
"root": true,
"rules": {
"array-bracket-spacing": [2, "always"],
"arrow-spacing": [2, { "before": true, "after": true }],
"block-spacing": [2, "always"],
"brace-style": [2, "1tbs", { "allowSingleLine": false }],
"comma-spacing": [2, {"before": false, "after": true}],
"comma-style": [2, "last"],
"computed-property-spacing": [2, "always"],
"curly": [2, "all"],
"dot-location": [2, "property"],
"eol-last": [2],
"func-names": [1],
"indent": [2, 2],
"key-spacing": [2, { "beforeColon": false, "afterColon": true }],
"keyword-spacing": [2],
"linebreak-style": [2],
"no-eq-null": [0],
"no-func-assign": [2],
"no-inline-comments": [2],
"no-mixed-spaces-and-tabs": [2],
"no-multi-spaces": [2],
"no-spaced-func": [2],
"no-trailing-spaces": [2],
"object-curly-spacing": [2, "always"],
"one-var": [2, "always"],
"one-var-declaration-per-line": [2, "always"],
"quotes": [2, "single"],
"semi-spacing": [2, {"before": false, "after": true}],
"space-before-blocks": [2],
"space-before-function-paren": [2, "never"],
"space-in-parens": [2, "always", { "exceptions": ["{}", "[]", "()", "empty"] }],
"space-infix-ops": [2],
"space-unary-ops": [2, { "words": true, "nonwords": false }],
"vars-on-top": [2]
}
}