We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18e4042 commit c472440Copy full SHA for c472440
src/index.js
@@ -79,12 +79,12 @@ class ESLintWebpackPlugin {
79
// Do not re-hook
80
if (
81
// @ts-ignore
82
- compiler.hooks.thisCompilation.taps.find(({ name }) => name === this.key)
+ compiler.hooks.compilation.taps.find(({ name }) => name === this.key)
83
) {
84
return;
85
}
86
87
- compiler.hooks.thisCompilation.tap(this.key, (compilation) => {
+ compiler.hooks.compilation.tap(this.key, (compilation) => {
88
/** @type {import('./linter').Linter} */
89
let lint;
90
/** @type {import('./linter').Reporter} */
0 commit comments