-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
41 lines (41 loc) · 1.27 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
40
41
{
"extends": "eslint:recommended",
"env": {
"node": true,
"es6": true
},
"plugins": [
"node"
],
"rules": {
"no-console":0,
"arrow-parens": ["error", "always"],
"no-var": "error",
"prefer-const": "error",
"array-bracket-spacing": ["error", "never"],
"comma-dangle": ["error", "never"],
"computed-property-spacing": ["error", "never"],
"eol-last": "error",
"eqeqeq": ["error", "smart"],
"indent": ["error", 2, { "SwitchCase": 1 }],
"no-confusing-arrow": ["error", { "allowParens": false }],
"no-extend-native": "error",
"no-mixed-spaces-and-tabs": "error",
"no-spaced-func": "error",
"no-trailing-spaces": "error",
"no-unused-vars": "error",
"no-use-before-define": ["error", "nofunc"],
"object-curly-spacing": ["error", "always"],
"prefer-arrow-callback": "error",
"quotes": ["error", "single", "avoid-escape"],
"semi": ["error", "always"],
"space-infix-ops": "error",
"spaced-comment": ["error", "always"],
"keyword-spacing": ["error", { "before": true, "after": true }],
"template-curly-spacing": ["error", "never"],
"semi-spacing": "error",
"strict": "error",
"node/no-unsupported-features": ["error", { "version": 6 }],
"node/no-missing-require": "error"
}
}