[Build] Fix lint exclusions

This commit is contained in:
Victor Woeltjen 2016-03-04 10:36:28 -08:00
parent bc8aafbb1f
commit 377786caf9

View File

@ -98,7 +98,7 @@ gulp.task('stylesheets', function () {
}); });
gulp.task('lint', function () { gulp.task('lint', function () {
return gulp.src(paths.scripts.concat(['!**/test/*', '!**/*Spec.js'])) return gulp.src(paths.scripts.concat(['!**/test/**/*.js', '!**/*Spec.js']))
.pipe(jshint()) .pipe(jshint())
.pipe(jshint.reporter('default')) .pipe(jshint.reporter('default'))
.pipe(jshint.reporter('fail')); .pipe(jshint.reporter('fail'));