Linting should use an exit error code on failure

This commit is contained in:
Colin McLeod
2015-06-11 14:02:27 -07:00
parent 456c63fe55
commit 2f9473b3d7

View File

@@ -43,7 +43,8 @@ gulp.task('js-lint', function() {
curly: true,
predef: [ 'angular','DB','d3', 'ga', 'GAPI_KEY', 'document' , 'LZString' ]
}))
.pipe(jshint.reporter('default'));
.pipe(jshint.reporter('default'))
.pipe(jshint.reporter("fail"));
});
gulp.task('json-lint', function() {