spalger / gulp-jshint

JSHint plugin for gulp
MIT License
419 stars 65 forks source link

Error in plugin 'gulp-jshint' #115

Closed bimalvasan closed 9 years ago

bimalvasan commented 9 years ago

Hi,

When I tried to use

return gulp
        .src(['./src/**/*.js'])
        .pipe(jscs())
        .pipe(jshint())
        .pipe(jshint.reporter('jshint-stylish', {
            verbose: true
        }));

I am getting error as shown below

[10:08:03] Error in plugin 'gulp-jshint'
Message:
    Invalid reporter

But if I replace 'jshint-stylish' with 'default' it is working fine and I am using "gulp-jshint": "^1.11.0"

Is there any change in 'jshint-stylish' or am I missing something?

Thanks, Bimal

spalger commented 9 years ago

Do you have the jshint-stylish node module installed?

bimalvasan commented 9 years ago

It was missing. It is working fine once it was installed.

Thanks, Bimal