mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 01:36:13 +00:00
Add JSHint checks to the Makefile
This commit is contained in:
parent
cf11cc8240
commit
41195a982d
5 changed files with 134 additions and 1 deletions
100
.jshintrc
Normal file
100
.jshintrc
Normal file
|
@ -0,0 +1,100 @@
|
|||
{
|
||||
// JSHint Configuration File
|
||||
// See http://jshint.com/docs/ for more details
|
||||
|
||||
"maxerr" : 200,
|
||||
|
||||
//Enforcing
|
||||
|
||||
"bitwise" : true,
|
||||
"camelcase" : false,
|
||||
"curly" : false,
|
||||
"eqeqeq" : true,
|
||||
"forin" : true,
|
||||
"freeze" : true,
|
||||
"immed" : false,
|
||||
"indent" : 4,
|
||||
"latedef" : false,
|
||||
"newcap" : false,
|
||||
"noarg" : true,
|
||||
"noempty" : true,
|
||||
"nonbsp" : true,
|
||||
"nonew" : false,
|
||||
"plusplus" : false,
|
||||
"quotmark" : false,
|
||||
"undef" : true,
|
||||
"unused" : false,
|
||||
"strict" : true,
|
||||
"maxparams" : false,
|
||||
"maxdepth" : false,
|
||||
"maxstatements" : false,
|
||||
"maxcomplexity" : false,
|
||||
"maxlen" : false,
|
||||
|
||||
//Relaxing
|
||||
|
||||
"asi" : false,
|
||||
"boss" : false,
|
||||
"debug" : false,
|
||||
"eqnull" : false,
|
||||
"es5" : false,
|
||||
"esnext" : false,
|
||||
"moz" : false,
|
||||
"evil" : false,
|
||||
"expr" : true,
|
||||
"funcscope" : false,
|
||||
"globalstrict" : true,
|
||||
"iterator" : false,
|
||||
"lastsemic" : false,
|
||||
"laxbreak" : false,
|
||||
"laxcomma" : false,
|
||||
"loopfunc" : false,
|
||||
"multistr" : false,
|
||||
"noyield" : false,
|
||||
"notypeof" : false,
|
||||
"proto" : false,
|
||||
"scripturl" : false,
|
||||
"shadow" : true,
|
||||
"sub" : false,
|
||||
"supernew" : false,
|
||||
"validthis" : false,
|
||||
|
||||
// Environments
|
||||
|
||||
"browser" : true,
|
||||
"browserify" : false,
|
||||
"couch" : false,
|
||||
"devel" : true,
|
||||
"dojo" : false,
|
||||
"jasmine" : false,
|
||||
"jquery" : true,
|
||||
"mocha" : true,
|
||||
"mootools" : false,
|
||||
"node" : false,
|
||||
"nonstandard" : false,
|
||||
"phantom" : false,
|
||||
"prototypejs" : false,
|
||||
"qunit" : false,
|
||||
"rhino" : false,
|
||||
"shelljs" : false,
|
||||
"typed" : false,
|
||||
"worker" : false,
|
||||
"wsh" : false,
|
||||
"yui" : false,
|
||||
|
||||
// Globals
|
||||
|
||||
"predef" : {
|
||||
"getEvent" : false,
|
||||
"addClass" : false,
|
||||
"getStyle" : false,
|
||||
"addEvent" : false,
|
||||
"cancelEvent" : false,
|
||||
"removeClass" : false,
|
||||
"removeEvent" : false,
|
||||
"onTouchClick" : false,
|
||||
"isMobile" : false,
|
||||
"L" : false // leaflet library
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue