-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
44 lines (44 loc) · 1.15 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
44
{
"root": true,
"env": {
"browser": true,
"node": true
},
"globals": {
"QUnit",
"smartOutline"
},
"extends": "eslint:recommended",
"rules": {
"no-console": 0,
"no-debugger": 0,
"no-shadow": 2,
"no-use-before-define": 2,
"eqeqeq": 0,
"curly": 0,
"no-underscore-dangle": 0,
"quotes": [2, "single"],
"semi": [ 2, "always" ],
"space-unary-ops": 0,
"space-infix-ops": 2,
"indent": [ 2, 4 ],
"strict": [ 2, "global" ],
"no-multi-spaces": 2,
"no-trailing-spaces": 2,
"spaced-comment": [2, "always", { "block": { "exceptions": ["*"] } } ],
"no-lonely-if": 2,
"no-negated-condition": 2,
"no-multiple-empty-lines": 2,
"new-parens": 2,
"new-cap": 2,
"eol-last": 2,
"no-const-assign": 2,
"consistent-this": [2, "self"],
"linebreak-style": [2, "unix"],
"max-nested-callbacks": [2, 3],
"no-class-assign": 2,
"no-dupe-class-members": 2,
"no-this-before-super": 2,
"prefer-const": 1
}
}