From 06c094ede3e7225572b56c124e0cf395ad009a5f Mon Sep 17 00:00:00 2001 From: Kay0u Date: Thu, 4 Jun 2020 00:31:41 +0200 Subject: [PATCH] fail on errors --- src/gulpfile.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gulpfile.js b/src/gulpfile.js index 438c0d03..e6481efa 100644 --- a/src/gulpfile.js +++ b/src/gulpfile.js @@ -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