JSHint config added

This commit is contained in:
mourner 2011-12-08 17:55:52 +02:00
parent fccecb419f
commit cf5cc5bb28
2 changed files with 46 additions and 0 deletions

43
build/jshintrc.json Normal file
View 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
View File

@ -0,0 +1,3 @@
@echo off
jshint ../src --config jshintrc.json