From 68777ec421d41be0da27013afd4165ae7d658d26 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Mon, 13 Jul 2026 23:17:25 +0530 Subject: refactor: added linting with esling and also resolved warnings for it --- config/webpack/plugins/create-rules-webpack-plugin.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'config/webpack/plugins/create-rules-webpack-plugin.js') diff --git a/config/webpack/plugins/create-rules-webpack-plugin.js b/config/webpack/plugins/create-rules-webpack-plugin.js index 993ac31..10e5fdd 100644 --- a/config/webpack/plugins/create-rules-webpack-plugin.js +++ b/config/webpack/plugins/create-rules-webpack-plugin.js @@ -1,5 +1,6 @@ -import path from "path"; import fs from "fs"; +import path from "path"; + import webpack from "webpack"; /** @@ -12,7 +13,7 @@ class CreateRulesPlugin { * @param {import("webpack").Compiler} compiler */ apply(compiler) { - compiler.hooks.compilation.tap("CreateRulesPlugin", compilation => { + compiler.hooks.compilation.tap("CreateRulesPlugin", (compilation) => { compilation.hooks.processAssets.tap( { name: "CreateRulesPlugin", -- cgit v1.2.3