-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy path.jshintrc
52 lines (50 loc) · 929 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
{
"browser": true,
"evil": true,
"devel": false,
"strict": true,
"globalstrict": true,
"forin": true,
"immed": true,
"newcap": true,
"noarg": true,
"curly": true,
"trailing": true,
"eqeqeq": true,
"bitwise": true,
"noempty": true,
"latedef": true,
"nonew": true,
"quotmark": true,
"undef": true,
"unused": true,
"maxdepth": 3,
"maxcomplexity": 10,
"maxlen": 140,
"camelcase": true,
//"maxstatements": 20,
// Problematic/buggy:
//"maxparams": 3,
//"indent": 4,
"predef":
[
"define",
"require",
"_",
"$",
"jQuery",
"before",
"after",
"beforeEach",
"afterEach",
"describe",
"it",
"expect",
"xit",
"xdescribe",
"sinon",
"escape",
"unescape",
"encodeURIComponent"
]
}