-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.jshintrc
48 lines (43 loc) · 1.24 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
// for options, consult http://www.jshint.com/options/
{
"esnext": true,
"predef" : [
// browser environment
"global",
"alert",
// not a global, a common idiom for throwing an exception when missing a keyword argument
"imvuMustBeDefined",
// imvu.js libraries
"IMVU",
"$",
"Backbone",
"_",
"BaseClass",
"module",
// test framework
"assert",
"include",
"fixture",
"require", // for node.js imvujstest
"exports", // for node.js imvujstest
"process", // for node.js imvujstest
"test",
"asyncTest",
"asyncFixture",
// ES6
"Set",
"Map"
],
"eqeqeq":true, // require strict equal === and !===
"es5": false,
"browser": true,
"shadow": true, // we like to write: for (var i = 0; i < foo.length; ++i)
"multistr": true, // disable when we move HTML out of JavaScript
"loopfunc": true, // we get this right with .bind
"undef": true,
"nonstandard": true,
"supernew": true,
// probably we need to fix this
"proto": true, // "__proto__" is used in imvujstest.js
"evil": true // "eval" is used in kraken.js
}