-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
38 lines (38 loc) · 1.02 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
{
"env": {
"node": true,
"mocha": true
},
"plugins": [],
"parserOptions": {
"ecmaVersion": 8,
"sourceType": "script",
"ecmaFeatures": {}
},
"rules": {
"no-var": ["error"],
"no-console": ["error"],
"comma-spacing": ["error"],
"no-unused-vars": ["error"],
"no-cond-assign": ["error"],
"no-return-assign": ["error"],
"no-param-reassign": ["error"],
"no-inline-comments": ["error"],
"no-trailing-spaces": ["error"],
"curly": ["error"],
"eqeqeq": ["error"],
"brace-style": ["error"],
"key-spacing": ["error"],
"semi-spacing": ["error"],
"semi": ["error", "always"],
"keyword-spacing": ["error"],
"space-infix-ops": ["error"],
"quotes": ["error", "single"],
"prefer-arrow-callback": ["error"],
"object-curly-spacing": ["error", "never"],
"indent": ["error", 2, { "SwitchCase": 1 }],
"max-len": ["error", 180, 2, { "ignoreComments": true }],
"comma-dangle": ["error", "always-multiline"],
"eol-last": ["error", "always"]
}
}