From 7d51a890c3d26fad6f3d70f7eb12fc5807338a57 Mon Sep 17 00:00:00 2001 From: Ricardo Gobbo de Souza Date: Fri, 27 Feb 2026 14:48:35 -0300 Subject: [PATCH] fix: display errors and warnings --- src/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.js b/src/index.js index 7c53bcf..943231d 100644 --- a/src/index.js +++ b/src/index.js @@ -152,9 +152,9 @@ class ESLintWebpackPlugin { }); // await and interpret results - compilation.hooks.additionalAssets.tapAsync( + compilation.hooks.processAssets.tapAsync( this.key, - async (callback) => { + async (_, callback) => { const { errors, warnings, generateReportAsset } = await report(); if (warnings) {