-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
33 lines (33 loc) · 846 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
{
"extends": [
"eslint:recommended",
"plugin:node/recommended"
],
"env": {},
"globals": {
"window": true
},
"plugins": [
"node"
],
"rules": {
"no-undef": 2,
"no-unused-vars": 2,
"strict": [2, "global"],
"new-cap": 0,
"indent": ["error", "tab", {"MemberExpression": 1, "ArrayExpression": 1, "ObjectExpression": 1 }],
"no-console": 0,
"no-invalid-this": 0,
"node/no-missing-require": 1,
"no-trailing-spaces": 2,
"semi": ["error", "always"],
"key-spacing": ["warn", { "beforeColon": false, "afterColon": true }],
"space-infix-ops": ["warn"],
"object-curly-newline": ["warn", {"minProperties": 1}],
"no-shadow": ["error"],
"no-undef-init": ["error"],
"comma-style": ["warn", "last"],
"comma-spacing": ["warn"],
"quotes": ["warn", "double"]
}
}