Updated to current latest stable version of jshint.

This commit is contained in:
Mitar 2014-02-09 23:30:39 -08:00
parent 5c40d686d4
commit 2c82e720b8
10 changed files with 18 additions and 12 deletions

View file

@ -1138,7 +1138,7 @@ target.lint = function() {
var jshintPath = path.normalize('./node_modules/.bin/jshint');
if (!test('-f', jshintPath)) {
echo('jshint is not installed -- installing...');
exec('npm install jshint@1.1'); // TODO read version from package.json
exec('npm install jshint@2.4.x'); // TODO read version from package.json
}
exit(exec('"' + jshintPath + '" --reporter test/reporter.js ' +