mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-21 02:29:23 +00:00
.jshintrc moved to test/ folder
This commit is contained in:
parent
3ca8ae0446
commit
d8abc72473
2 changed files with 3 additions and 3 deletions
18
test/.jshintrc
Normal file
18
test/.jshintrc
Normal 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 */
|
||||
}
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue