pluralsight-gulp icon indicating copy to clipboard operation
pluralsight-gulp copied to clipboard

gulp-jscs requires reporter

Open a2k42 opened this issue 8 years ago • 0 comments

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.

a2k42 avatar May 11 '16 20:05 a2k42