forked from bmauser/bvalidator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.jshintrc
20 lines (19 loc) · 1.29 KB
/
.jshintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// see: http://jshint.com/docs/options/
{
"asi" : true, // suppresses warnings about missing semicolons
"browser" : true, // defines globals exposed by modern browsers
"eqeqeq" : false, // prohibits the use of == and != in favor of === and !==
"eqnull" : true, // suppresses warnings about == null comparisons
"expr" : true, // suppresses warnings about the use of expressions where normally you would expect to see assignments or function calls
"jquery" : true, // defines globals exposed by the jQuery
"latedef" : true, // prohibits the use of a variable before it was defined
"laxbreak" : true, // suppresses most of the warnings about possibly unsafe line breakings
"nonbsp" : true, // warns about "non-breaking whitespace" characters
"strict" : true, // requires the code to run in ECMAScript 5's strict mode
"undef" : true, // prohibits the use of explicitly undeclared variables
"unused" : true, // warns when you define and never use your variables
"forin" : true, // requires all for in loops to filter object's items
"freeze" : true, // prohibits overwriting prototypes of native objects such as Array, Date
"globals": { "bValidator": true, "prettyPrintOne": true, "CodeMirror": true, "console": true},
"newcap" : false
}