webpack-eslint-plugin
async run eslint for webpack plugin, won't block webpack compilation
install
npm i -S webpack-eslint-plugin
usage
// webpack.config.jsmoduleexports = // ... plugins: // other plugins /*options*/
options
You can pass eslint options
format
(default: eslint stylish formatter)
format: include: '**/*.js' '**/*.jsx'
beforeOutput
([Function (results)])
before output hook function
include
string or array
minimatch sync, include dependencies files type