fail on errors

This commit is contained in:
Kay0u 2020-06-04 00:31:41 +02:00 committed by Alexandre Aubin
parent fd8c4bdb9d
commit 2c4b0cad74

View file

@ -49,7 +49,8 @@ gulp.task('js', function() {
gulp.task('js-lint', function() {
return gulp.src('js/**/*.js')
.pipe(jshint())
.pipe(jshint.reporter('default'));
.pipe(jshint.reporter('default'))
.pipe(jshint.reporter('fail'))
});
// Fonts