From f267cd9cd9e48965a4fb378256e51be6e87f895d Mon Sep 17 00:00:00 2001 From: Hariom Balhara Date: Tue, 16 Sep 2025 15:30:53 +0530 Subject: [PATCH] fix: change no-restricted-imports to @typescript-eslint/no-restricted-imports for allowTypeImports support (#23860) The allowTypeImports option is only supported by @typescript-eslint/no-restricted-imports, not the standard ESLint no-restricted-imports rule. This fixes the configuration error: 'Configuration for rule no-restricted-imports is invalid: allowTypeImports should NOT have additional properties' Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- .eslintrc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index 55e37a2e14..43c0cd8359 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -22,7 +22,7 @@ module.exports = { { files: ["packages/app-store/**/*.{ts,tsx,js,jsx}"], rules: { - "no-restricted-imports": [ + "@typescript-eslint/no-restricted-imports": [ "error", { patterns: [