-
-
Notifications
You must be signed in to change notification settings - Fork 53
Description
Hi! π I'm an author of ForkTsCheckerWebpackPlugin. I recently removed support for EsLint in the plugin to focus on the TypeScript part. The eslint-webpack-plugin is a suggested replacement, but some users experience performance degradation when switching to this plugin (TypeStrong/fork-ts-checker-webpack-plugin#601) (for example from ~24s to ~40s).
Modification Proposal
Use compiler.modifiedFiles to get a list of files to lint and compiler.removedFiles to get a list of files to remove errors. This way you don't have to wait for compilation.hooks.finishModules to start the linting process.
Expected Behavior / Situation
The eslint-webpack-plugin has similar performance to fork-ts-checker-webpack-plugin@^6.0.0
Actual Behavior / Situation
The eslint-webpack-plugin is often significantly slower.
Please paste the results of npx webpack-cli info here, and mention other relevant information
I believe it's not related :)