diff --git a/eslint.config.mjs b/eslint.config.mjs index 8c252b7a..2d08df30 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -109,7 +109,6 @@ export default [ "@typescript-eslint/no-deprecated": "off", // SDL / import / no-unsanitized / depend: defer — review separately - "no-restricted-imports": "off", "no-restricted-globals": "off", }, }, @@ -128,6 +127,15 @@ export default [ }, }, + // Integration tests bootstrap jsdom fetch via `node-fetch` polyfill — + // allow the otherwise-banned import here only. + { + files: ["src/integration_tests/**"], + rules: { + "no-restricted-imports": "off", + }, + }, + // Node-context files (build configs, scripts) { files: [