fail on errors

This commit is contained in:
Kay0u 2020-06-04 00:31:41 +02:00
parent 129ae25df8
commit 06c094ede3
No known key found for this signature in database
GPG key ID: AAFEEB16CFA2AE2D

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