This repository has been archived by the owner on Nov 27, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.jshintrc
86 lines (82 loc) · 1.84 KB
/
.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
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
75
76
77
78
79
80
81
82
83
84
85
86
{
/* enforcing */
"bitwise": true,
"camelcase": false,
"curly": false,
"eqeqeq": false,
"es3": true,
"forin": false, // jshint doesn't understand continue form of this :(
"freeze": true,
"immed": true,
"indent": 4,
"latedef": "nofunc",
"newcap": false,
"noarg": true,
"noempty": false,
"nonbsp": true,
"nonew": true,
"plusplus": false,
"quotmark": "double",
"undef": true,
"unused": "vars",
"globalstrict": true,
// "maxparams": 0,
// "maxdepth": 0,
// "maxstatements": 0,
// "maxcomplexity": 0,
// "maxlen": 0,
/* relaxing */
"strict": false,
"asi": false,
"boss": false,
// "debug": false,
"eqnull": false,
"esnext": false,
"evil": false,
"expr": false,
"funcscope": false,
"globalstrict": false,
"iterator": false,
"lastsemic": true,
"laxbreak": false,
"laxcomma": false,
"loopfunc": false,
// "maxerr": 50,
"moz": false,
"multistr": false,
"notypeof": false,
"proto": false,
"scripturl": false,
"shadow": false,
"sub": false,
"supernew": false,
"noyield": false,
/* env */
"browser": false, // inline global declarations preferred as needed to easily see node vs. browser issues
"node": true,
"jquery": false, // see browser note
"couch": false,
"devel": false,
"dojo": false,
"mootools": false,
"nonstandard": false,
"phantom": false,
"prototypejs": false,
"rhino": false,
"worker": false,
"wsh": false,
"yui": false,
/* globals */
"globals": {
// jasmine
"after": false,
"afterEach": false,
"before": false,
"beforeEach": false,
"describe": false,
"expect": false,
"it": false,
"fail": false,
"JSON": false
}
}