-
Notifications
You must be signed in to change notification settings - Fork 90
/
.eslintrc.json
29 lines (29 loc) · 1.08 KB
/
.eslintrc.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
{
"env": {
"es6": true,
"node": true,
"mocha": true
},
"parserOptions": {
"ecmaVersion": 8
},
"extends": "eslint:recommended",
"rules": {
"comma-spacing": ["error"],
"eqeqeq": ["error", "always"],
"indent": ["error", 4],
"key-spacing": ["error"],
"keyword-spacing": ["error"],
"linebreak-style": ["error", "unix"],
"no-multi-spaces": ["error"],
"no-unused-vars": ["error", {"args": "none"}],
"no-var": ["error"],
"no-console": ["off"],
"prefer-const": ["error"],
"quotes": ["error", "single"],
"semi": ["error"],
"strict": ["error", "global"],
"space-before-blocks": ["error"],
"space-before-function-paren": ["error", {"anonymous": "always", "named": "never"}]
}
}