From b6e133ef11f778e132b0e2ae9074cf50dac9d7b1 Mon Sep 17 00:00:00 2001 From: Timo Bechtel Date: Sun, 17 Dec 2023 14:51:23 +0100 Subject: [PATCH] fix(eslint): disable a few import rules that are handled by ts rules --- eslint/rules/import.cjs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/eslint/rules/import.cjs b/eslint/rules/import.cjs index a6061ee..3fb08a4 100644 --- a/eslint/rules/import.cjs +++ b/eslint/rules/import.cjs @@ -27,5 +27,13 @@ module.exports = defineConfig({ ], // allow default exports 'import/no-default-export': 'off', + /** + * These are enabled by `import/recommended`, but are better handled by + * TypeScript and @typescript-eslint. + */ + 'import/default': 'off', + 'import/export': 'off', + 'import/namespace': 'off', + 'import/no-unresolved': 'off', }, });