pluralsight-gulp
pluralsight-gulp copied to clipboard
gulp-jscs requires reporter
When running the first task, gulp vet, no output was generated from jscs.
It appears that gulp-jscs now needs a reporter like jshint:
gulp.task('vet', function() {
console.log('vetting');
return gulp
.src([
'./src/**/*.js',
'./*.js'
])
.pipe(jscs())
.pipe(jscs.reporter())
.pipe(jshint())
.pipe(jshint.reporter('jshint-stylish', {verbose: true}));
});
Thanks to EdinM for that one.