Treat JSHint warnings as errors
Change-Id: I0d66861786b2369899647e39154cb3215c8c5a2d
This commit is contained in:
parent
d72e74e3d7
commit
68055e3123
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue