From 6f6f8a338ec460aea761de320aaccc25b0eb2d42 Mon Sep 17 00:00:00 2001 From: Alexandre Pretto Nunes Date: Mon, 12 Jan 2015 20:08:00 -0200 Subject: Improve jshint configuration --- web-ui/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web-ui/package.json') diff --git a/web-ui/package.json b/web-ui/package.json index f32794e2..bf1757ea 100644 --- a/web-ui/package.json +++ b/web-ui/package.json @@ -25,7 +25,7 @@ "handlebars": "mkdir -p app/js/generated/hbs/ && handlebars app/templates/**/*.hbs > app/js/generated/hbs/templates.js --namespace=window.Pixelated --root .", "compass": "compass compile", "build": "npm run clean && npm run handlebars && npm run compass", - "jshint": "node_modules/.bin/jshint --config=.jshintrc `find app -name '*.js' | grep -v -e 'lib' -e 'bower' -e 'generated'`", + "jshint": "node_modules/.bin/jshint --config=.jshintrc app && node_modules/.bin/jshint --config=.jshintrc test", "clean": "rm -rf .tmp/ dist/**/* app/js/generated/hbs/* app/css/*", "buildmain": "node_modules/requirejs/bin/r.js -o config/buildoptions.js", "package": "/bin/bash config/package.sh", -- cgit v1.2.3