diff --git a/dashboards/admin-web/eslint.config.mjs b/dashboards/admin-web/eslint.config.mjs index 51a8c89e..5a14310e 100644 --- a/dashboards/admin-web/eslint.config.mjs +++ b/dashboards/admin-web/eslint.config.mjs @@ -18,6 +18,12 @@ const eslintConfig = defineConfig([ "out/**", "build/**", "next-env.d.ts", + // .pnpmfile.cjs is a pnpm install hook (CommonJS by design). + // The TypeScript no-require-imports rule would otherwise flag + // every require() call in this file. eslint-config-next does NOT + // ignore .cjs by default. + ".pnpmfile.cjs", + "**/*.cjs", ]), ]);