-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.jshintrc
55 lines (53 loc) · 1.32 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
{
// Enforcing options
"bitwise": true,
"curly": false, // But I'd like to prohbit *most* instances with JSCS.
"eqeqeq": true,
"esversion": 6,
"forin": true,
"freeze": true,
"futurehostile": true,
"latedef": true,
"leanswitch": true,
// TODO: Enable "maxcomplexity".
"maxdepth": 5,
// Probably no need to change "maxerr".
"maxparams": 4,
//"maxstatements": 20,
"noarg": true,
"nonbsp": true,
"nonew": true,
"noreturnawait": true,
// No global "predef".
"regexpu": true,
"shadow": "outer",
"singleGroups": true,
"strict": true,
"trailingcomma": false,
"undef": true,
"unused": "strict",
"varstmt": true,
// Relaxing options
"asi": false,
"boss": false,
"debug": false,
"elision": false,
"eqnull": false,
"evil": false,
"expr": false,
"funcscope": false,
"iterator": false,
"lastsemic": false,
"loopfunc": false, // TODO: Check that this allows OK cases with let/const.
"moz": false,
"notypeof": false,
"noyield": false,
"plusplus": false, // Should be considered an enforcing option.
"proto": false,
"scripturl": false,
"supernew": false,
"validthis": false, // Should I really set this explicitly?
"withstmt": false,
// Environments
"node": true
}