webpack-contrib / jshint-loader

[DEPRECATED] jshint loader for webpack, please migrate on `eslint`
MIT License
67 stars 37 forks source link

Respect .jshintrc #6

Closed avanderhoorn closed 8 years ago

avanderhoorn commented 10 years ago

Just wondering if the package can be updated to respect the .jshintrc file if it present.

As per there docs:

There are three main ways to configure your copy of JSHint: you can either specify the configuration file manually via the --config flag, use a special file .jshintrc or put your config into your projects package.json file under the jshintConfig property. In case of .jshintrc, JSHint will start looking for this file in the same directory as the file that's being linted.

This would be nice as other tools (like various IDE linters) look for this file and adjust the running errors accordingly.

sokra commented 10 years ago

Send in a PR....

dashed commented 10 years ago

Been wondering about this too. This hasn't been a big deal yet in my projects.

MoOx commented 9 years ago

I guess this issue has been closed by #8

dashed commented 9 years ago

Yep it has. Been working great so far.