-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.eslintrc
38 lines (37 loc) · 1001 Bytes
/
.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
{
"extends": "eslint:recommended",
"env": {
"node": true,
"es6": true
},
"plugins": [
"node"
],
"rules": {
"no-var": 2,
"prefer-const": 2,
"array-bracket-spacing": [2, "never"],
"brace-style": [2, "1tbs"],
"comma-dangle": [2, "always-multiline"],
"computed-property-spacing": [2, "never"],
"curly": [2, "multi-line"],
"eol-last": 2,
"eqeqeq": [2, "smart"],
"no-extend-native": 2,
"no-mixed-spaces-and-tabs": 2,
"no-spaced-func": 2,
"no-trailing-spaces": 2,
"no-unused-vars": 2,
"no-use-before-define": [2, "nofunc"],
"object-curly-spacing": [2, "always"],
"quotes": [2, "single", "avoid-escape"],
"semi": [2, "always"],
"space-before-function-paren": [2, "never"],
"space-infix-ops": 2,
"spaced-comment": [2, "always"],
"keyword-spacing": [2, { before: true, after: true }],
"strict": 2,
"node/no-unsupported-features": [2, {"version": 4}],
"node/no-missing-require": 2
}
}