Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to handle "ERROR: Can't find config file: .jshintrc" #100

Open
assisrafael opened this issue Feb 22, 2015 · 2 comments
Open

how to handle "ERROR: Can't find config file: .jshintrc" #100

assisrafael opened this issue Feb 22, 2015 · 2 comments

Comments

@assisrafael
Copy link

How is the proper way to handle the "ERROR: Can't find config file: .jshintrc" error?
I tried without any success the following code:

gulp.src('*.js')
    .pipe(jshint('.jshintrc'))
    .on('error', function(e) {
        console.log(e);
    });
@robertdunaway
Copy link

I second this question. At first it could not find the file. Then it could. So I started experimenting with a new JSHint reporter and suddenly gulp can't find the .jshintrc again.

.pipe(jshint.reporter('gulp-jshint-html-reporter', { filename: 'jshint-output.html' }))

It's scary that it finds the file and then doesn't yet nothing seems to have changed...

@odahcam
Copy link

odahcam commented Mar 11, 2017

Still with this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants