-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc
43 lines (43 loc) · 1 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
42
43
{
"rules": {
"indent": [2, 2, {"SwitchCase": 1}],
"quotes": [2, "single"],
"linebreak-style": [2, "unix"],
"semi": [2, "always"],
"curly": [2, "multi-line"],
"handle-callback-err": [2, "^err"],
"valid-jsdoc": [2, {
"requireReturn": false,
"requireReturnDescription": false,
"prefer": {
"return": "returns"
}
}],
"require-jsdoc": [2, {
"require": {
"FunctionDeclaration": true
}
}],
"no-redeclare": [2, { "builtinGlobals": true }],
"no-shadow": [2, { "builtinGlobals": true, "hoist": "all" }],
"no-use-before-define": [2, "nofunc"],
"no-shadow-restricted-names": 2,
"no-extra-semi": 2,
"no-unused-vars": 2,
"no-undef": 2,
"no-irregular-whitespace": 2,
"no-console": 2,
"key-spacing": 0,
"strict": 0,
"dot-notation": 0,
"eol-last": 0,
"no-new": 0,
"semi-spacing": 0,
"no-multi-spaces": 0,
"eqeqeq": 0,
"no-mixed-requires": 0,
},
"env": {
"node": true
}
}