Treat JSHint warnings as errors
Change-Id: I0d66861786b2369899647e39154cb3215c8c5a2d
This commit is contained in:
parent
f3e65381dc
commit
d1c2616d4c
|
@ -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