Treat JSHint warnings as errors

Change-Id: I0d66861786b2369899647e39154cb3215c8c5a2d
This commit is contained in:
Vitaly Kramskikh 2015-07-17 21:46:24 +03:00
parent d72e74e3d7
commit 68055e3123
1 changed files with 2 additions and 1 deletions

View File

@ -231,7 +231,8 @@ gulp.task('jshint', function() {
.pipe(react())
.pipe(jsxFilter.restore())
.pipe(jshint(jshintConfig))
.pipe(jshint.reporter('jshint-stylish'));
.pipe(jshint.reporter('jshint-stylish'))
.pipe(jshint.reporter('fail'));
});
var lintspacesConfig = {