.jshintrc moved to test/ folder

This commit is contained in:
coderaiser 2012-07-24 08:25:19 -04:00
parent 3ca8ae0446
commit d8abc72473
2 changed files with 3 additions and 3 deletions

18
test/.jshintrc Normal file
View file

@ -0,0 +1,18 @@
{
"bitwise" : true,
"browser" : true,
"devel" : true,
"eqeqeq" : true,
"es5" : true,
"forin" : true,
"globalstrict" : true,
"jquery" : true,
"newcap" : true,
"noarg" : true,
"node" : true,
"noempty" : true,
"nonew" : true,
"strict" : true,
"undef" : true,
"evil" : true /* using for JSON-parsing if brawser old and crappy */
}

View file

@ -2,11 +2,11 @@
#linting js files
npm i jshint -g
echo "jshint server.js client.js lib/cloudfunc.js"
jshint --config ./.jshintrc ./server.js ./client.js
jshint --config ./test/.jshintrc ./server.js ./client.js
echo "jshint ./lib/cloudfunc.js ./lib/server/minify/minify.js ./lib/client/keyBinding.js"
jshint --config ./.jshintrc ./lib/cloudfunc.js ./lib/server/minify/minify.js ./lib/client/keyBinding.js
jshint --config ./test/.jshintrc ./lib/cloudfunc.js ./lib/server/minify/minify.js ./lib/client/keyBinding.js
echo "jshint ./package.json ./config.json"
jshint --config ./.jshintrc ./package.json ./config.json
jshint --config ./test/.jshintrc ./package.json ./config.json
npm i uglify-js clean-css html-minifier css-b64-images
#linting css files
npm i recess -g