-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
34 lines (32 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
{
"extends": "eslint:recommended",
"env": {
"es6": true,
"node": true,
"mocha": true
},
"rules": {
"indent": ["error", 4],
"quotes": ["error", "single"],
"prefer-const": ["error"],
"no-var": ["error"],
"comma-dangle": ["error", "only-multiline"],
"object-curly-spacing": ["error", "never"],
"space-before-function-paren": ["error", {
"anonymous": "always",
"named": "never",
"asyncArrow": "ignore"
}],
"space-before-blocks": ["error"],
"keyword-spacing": ["error", {
"before": true,
"after": true
}],
"no-trailing-spaces": ["error"],
"padded-blocks": ["error", "never"],
"space-in-parens": ["error", "never"],
"linebreak-style": [2, "unix"],
"semi": ["error", "always"],
"handle-callback-err": ["error"]
}
}