diff --git a/gulpfile.js b/gulpfile.js index 1724192224..6a8c790c8b 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -98,7 +98,7 @@ gulp.task('stylesheets', 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.reporter('default')) .pipe(jshint.reporter('fail'));