JSHint config added
This commit is contained in:
parent
fccecb419f
commit
cf5cc5bb28
43
build/jshintrc.json
Normal file
43
build/jshintrc.json
Normal file
@ -0,0 +1,43 @@
|
||||
{
|
||||
"browser": true,
|
||||
"predef": ["L"],
|
||||
|
||||
"debug": false,
|
||||
"devel": false,
|
||||
|
||||
"es5": false,
|
||||
"strict": false,
|
||||
"globalstrict": false,
|
||||
|
||||
"asi": false,
|
||||
"laxbreak": false,
|
||||
"bitwise": true,
|
||||
"boss": false,
|
||||
"curly": true,
|
||||
"eqeqeq": true,
|
||||
"eqnull": false,
|
||||
"evil": false,
|
||||
"expr": false,
|
||||
"forin": false,
|
||||
"immed": true,
|
||||
"latedef": true,
|
||||
"loopfunc": false,
|
||||
"noarg": true,
|
||||
"regexp": true,
|
||||
"regexdash": false,
|
||||
"scripturl": false,
|
||||
"shadow": false,
|
||||
"supernew": false,
|
||||
"undef": true,
|
||||
|
||||
"newcap": true,
|
||||
"noempty": true,
|
||||
"nonew": true,
|
||||
"nomen": false,
|
||||
"onevar": false,
|
||||
"plusplus": false,
|
||||
"sub": false,
|
||||
"trailing": false,
|
||||
"white": false,
|
||||
"indent": 4
|
||||
}
|
3
build/lint.bat
Normal file
3
build/lint.bat
Normal file
@ -0,0 +1,3 @@
|
||||
@echo off
|
||||
|
||||
jshint ../src --config jshintrc.json
|
Loading…
Reference in New Issue
Block a user