webpack-contrib / eslint-webpack-plugin

A ESLint plugin for webpack
MIT License
254 stars 47 forks source link

Run ESLint only on modified files #234

Closed JoseBuendiaDigio closed 7 months ago

JoseBuendiaDigio commented 8 months ago

Feature Proposal

Execute ESLint only on changed files. I don't want to wait 4 minutes to see the server up without cache. Maybe is possible to run it in background?

Feature Use Case

I start devServer and I want to run ESLint only on modified files

ricardogobbosouza commented 7 months ago

Hi @JoseBuendiaDigio

Enable lintDirtyModulesOnly

new ESLintPlugin({
    lintDirtyModulesOnly: true,
})