-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
39 lines (39 loc) · 1.11 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
{
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"env": {
"node": true,
"es6": true
},
"rules": {
"no-eval": 1,
"eqeqeq": [2, "smart"],
"no-magic-numbers": [1, {"ignoreArrayIndexes": true, "ignore":[0, 1, 25]}],
"quotes": [1, "single"],
"strict": [2, "global"],
"no-unused-vars": [1, {"args": "none"}],
"brace-style": [2, "1tbs"],
"camelcase": [1],
"comma-spacing": [2, {"before": false, "after": true}],
"comma-style": [2, "last"],
"block-spacing": [2, "never"],
"array-bracket-spacing": [2, "never"],
"indent": [2, 2],
"no-spaced-func": [2],
"semi": [2, "always"],
"space-before-blocks": [2, "always"],
"space-before-function-paren": [2, "never"],
"space-in-parens": [2, "never"],
"space-infix-ops": [2],
"space-unary-ops": [2, {"words": true, "nonwords": false}],
"spaced-comment": [2, "always"],
"no-mixed-spaces-and-tabs": [2],
"arrow-spacing": [2, {"before": true, "after": true}],
"no-const-assign": [2],
"prefer-template": [1],
"prefer-arrow-callback": [2],
"no-var": [2]
}
}