Moved jshint config to .jshintrc

This commit is contained in:
Keivan Beigi 2015-02-03 16:56:18 -08:00
parent a7001ab322
commit 095e92c7dd
5 changed files with 36 additions and 22 deletions

View file

@ -8,20 +8,6 @@ var paths = require('./paths.js');
gulp.task('jshint', function () {
return gulp.src([paths.src.scripts, paths.src.exclude.libs])
.pipe(cache('jshint'))
.pipe(jshint({
'-W030': false,
'-W064': false,
'-W097': false, //Use the function form of “use strict”
'-W100': false, //Silently deleted characters (in locales)
'undef': true,
'globals': {
'module': true,
'require': true,
'define': true,
'window': true,
'document': true,
'console': true
}
}))
.pipe(jshint())
.pipe(jshint.reporter(stylish));
});