-
Notifications
You must be signed in to change notification settings - Fork 1
/
.jshintrc
48 lines (48 loc) · 1004 Bytes
/
.jshintrc
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
{
"globals": {
"setTimeout": false,
"requirejs": false,
"require": false,
"define": false,
"jasmine": false,
"spyOn": false,
"it": false,
"describe": false,
"expect": false,
"beforeEach": false,
"afterEach": false,
"waits": false,
"waitsFor": false,
"runs": false,
"window": false
},
// Enforcing
"bitwise": true,
"camelcase": true,
"curly": true,
"eqeqeq": true,
"freeze": true,
"forin": true,
"immed": true,
"indent": 4,
"latedef": true,
"newcap": true,
"noarg": true,
"noempty": true,
"nonbsp": true,
"nonew": true,
"plusplus": false,
"quotmark": true,
"undef": true,
"unused": true,
"strict": true,
"trailing": true,
// Limits
"maxparams": false,
"maxdepth": false,
"maxstatements": 16,
"maxcomplexity": false,
"maxlen": 120,
// Relaxing
"esnext": false
}