-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
74 lines (68 loc) · 1.83 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"env": {
"es6": true
},
"rules": {
"no-bitwise": 2,
"curly": 2,
"eqeqeq": 2,
"guard-for-in": 0,
"wrap-iife": [2, "outside"],
"no-use-before-define": 0,
"new-cap": [0, {
"capIsNewExceptions": [
"$.Deferred",
"$.Event",
"CodeMirror.Pos",
"Immutable.Map",
"Immutable.List",
"JSLINT"
]}],
"no-caller": 2,
"no-empty": 0,
"no-new": 2,
"no-invalid-regexp": 2,
"no-control-regex": 2,
"no-regex-spaces": 2,
"no-undef": 0,
"no-console": 0,
"strict": 0,
"no-unused-vars": [0, {"vars": "all", "args": "none"}],
"semi": 2,
"no-iterator": 2,
"no-loop-func": 2,
"no-multi-str": 2,
"no-fallthrough": 2,
"no-proto": 2,
"no-script-url": 2,
"no-shadow": 0,
"no-shadow-restricted-names": 2,
"no-new-func": 2,
"no-new-wrappers": 0,
"no-new-require": 2,
"new-parens": 2,
"no-new-object": 2,
"no-invalid-this": 0,
"indent": [2, 4, { "SwitchCase": 1 }],
"valid-jsdoc": 0,
"valid-typeof": 2,
"no-trailing-spaces": 0,
"eol-last": 0,
"max-len": [1, 150],
"no-multiple-empty-lines": [2, {"max": 1}]
},
"globals": {
"brackets": false,
"require": false,
"define": false,
"$": false,
"window": false,
"console": false,
"setTimeout": false,
"clearTimeout": false,
"ArrayBuffer": false,
"XMLHttpRequest": false,
"Uint32Array": false,
"WebSocket": false
}
}