webpack-contrib / jshint-loader

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

support loading jshint rules from package.json #19

Open osdevisnot opened 9 years ago

osdevisnot commented 9 years ago

jshint supports loading config from package.json. This however, does not work with jshint-loader.

A workaround in webpack.config can be used as below:

jshint: require('./package.json').jshintConfig

Any change this can be supported in loader itself?