-
Notifications
You must be signed in to change notification settings - Fork 2
/
.jshintrc-html
113 lines (113 loc) · 3 KB
/
.jshintrc-html
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
// enforcing
"bitwise" : true,
"freeze" : true,
"camelcase" : false,
"curly" : true,
"eqeqeq" : false,
"notypeof" : false,
"es3" : false,
// "es5" is true by default and setting it to true causes a warning
"forin" : true,
"funcscope" : false,
"globalstrict" : false,
"immed" : true,
"iterator" : true,
"newcap" : false,
"noarg" : true,
"nocomma" : false,
"noempty" : false,
"nonbsp" : true,
"nonew" : true,
"undef" : true,
"unused" : false,
"singleGroups" : false,
// relaxing
"asi" : false,
"multistr" : true,
"debug" : false,
"boss" : false,
"evil" : false,
"plusplus" : false,
"proto" : false,
"scripturl" : false,
"strict" : false,
"sub" : true,
"supernew" : true,
"laxbreak" : true,
"laxcomma" : true,
"validthis" : true,
"withstmt" : true,
"moz" : true,
"noyield" : true,
"eqnull" : true,
"lastsemic" : true,
"loopfunc" : true,
"expr" : true,
"esnext" : true,
"elision" : true,
// environments
"mootools" : false,
"couch" : false,
"jasmine" : false,
"jquery" : false,
"node" : true,
"qunit" : false,
"rhino" : false,
"shelljs" : false,
"phantom" : true,
"prototypejs" : false,
"yui" : false,
"mocha" : false,
"wsh" : false,
"worker" : false,
"nonstandard" : false,
"browser" : true,
"browserify" : false,
"devel" : false,
"dojo" : false,
"typed" : false,
// Global variables introduced by various libraries or plugins
"globals" : {
// Save me from adding global jQuery to every testing HTML page
"jQuery" : true,
"$" : true,
"csui" : true,
// Missing from the browser support
"alert" : true,
"confirm" : true,
"escape" : true,
"JSON" : true,
"prompt" : true,
"unescape" : true,
// RequireJS
"define" : true,
"require" : true,
"requirejs" : true,
// Jasmine support: jasmine has to be set to false above;
// here is a copy of exports.jasmine from jshint/src/vars.js,
// because jshint allows fdescribe and fit, which we want to
// disallow, just like ddescribe and iit, which are disallowed
// Jasmine 1
"jasmine" : false,
"describe" : false,
"it" : false,
"xit" : false,
"beforeEach" : false,
"afterEach" : false,
"setFixtures" : false,
"loadFixtures" : false,
"spyOn" : false,
"expect" : false,
"xdescribe" : false,
// Jasmine 1.3
"runs" : false,
"waitsFor" : false,
"waits" : false,
// Jasmine 2.1
"beforeAll" : false,
"afterAll" : false,
"fail" : false,
"pending" : false
}
}