mirror of
https://github.com/nasa/openmct.git
synced 2024-12-30 01:48:51 +00:00
[Build] Fix lint exclusions
This commit is contained in:
parent
bc8aafbb1f
commit
377786caf9
@ -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'));
|
||||
|
Loading…
Reference in New Issue
Block a user