forked from 3rd-Eden/.files
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.jshintrc
26 lines (26 loc) · 1.46 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
{
"node": true // ignore globals that are set in Node.js
, "browser": true // ignore globals that are set in the browser
, "jQuery": true // predefine jQuery's globals
, "globalstrict": true // allow global strict mode
, "laxcomma": true // allow comma first
, "evil": true // allow evil code execution
, "laxbreak": true // allow foo ? bar : baz to span multiple lines
, "supernew": true // allow new function and new Object;
, "proto": true // allow __proto__ to be used
, "eqeqeq": true // force === instead of ==
, "es5": true // allow EcmaScript 5 syntax
, "boss": true // allow assignments in `if ()` statements
, "noarg": true // disallow `arguments.callee`
, "predef": [ // pre-defined globals that are use commonly
"_" // -- underscore library
, "$" // -- jQuery library
, "logger" // -- global logger
, "should" // -- should.js assertation library
, "describe" // -- BDD unit tests
, "it" // -- BDD unit tests
, "after" // -- BDD unit tests
, "before" // -- BDD unit tests
, "Backbone" // -- backbone.js mvc library
]
}