Treat JSHint warnings as errors

Change-Id: I0d66861786b2369899647e39154cb3215c8c5a2d
This commit is contained in:
Vitaly Kramskikh 2015-07-17 21:46:24 +03:00
parent f3e65381dc
commit d1c2616d4c
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 = {