diff --git a/eslint.config.js b/eslint.config.js index 545672f2..91dbc1c8 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -25,6 +25,11 @@ export default [ // these, but the root config is what runs in CI). '**/playwright-report/**', '**/test-results/**', + // .pnpmfile.cjs / .cjs config files use CommonJS require() by + // design and must not be linted with the TypeScript ESM rule set + // that forbids require-style imports. + '**/.pnpmfile.cjs', + '**/*.cjs', ], }, js.configs.recommended,