-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.jshintrc
65 lines (55 loc) · 922 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
// Settings
"passfail": false,
"maxerr": 100,
// Predefined globals whom JSHint will ignore.
"browser": true,
"jquery": true,
// Custom globals.
"predef": [
"define",
"module",
"require",
"sinon",
"Backbone",
"dominus",
"reqwest",
"QUnit"
],
// Development.
"debug": false,
"devel": false,
// The Good Parts.
"asi": false,
"laxbreak": false,
"bitwise": false,
"boss": false,
"curly": true,
"eqeqeq": true,
"eqnull": false,
"evil": false,
"expr": false,
"forin": false,
"immed": true,
"latedef": true,
"loopfunc": false,
"noarg": true,
"regexp": true,
"regexdash": false,
"scripturl": true,
"shadow": false,
"supernew": false,
"undef": true,
"unused": true,
// Personal styling preferences.
"newcap": true,
"noempty": true,
"nonew": true,
"nomen": true,
"onevar": true,
"plusplus": true,
"sub": false,
"trailing": true,
"white": false,
"indent": 2
}