From 2c5046052d9dbec53e24a8b6e049b1d013316358 Mon Sep 17 00:00:00 2001 From: Lukas Weiss Date: Wed, 12 Aug 2026 08:17:32 +0200 Subject: [PATCH] remove import checks already checked by ts --- configs/ts.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/configs/ts.js b/configs/ts.js index 1b7d35e..8ec0ef3 100644 --- a/configs/ts.js +++ b/configs/ts.js @@ -60,6 +60,17 @@ export default defineConfig([ '@typescript-eslint/member-delimiter-style': 'off', '@typescript-eslint/explicit-function-return-type': 'off', '@typescript-eslint/no-deprecated': 'warn', + // ---- + // TypeScript reports all of these rules as part of normal type checking, + // and the plugin re-parses the whole import graph to do it. + // https://typescript-eslint.io/troubleshooting/typed-linting/performance#eslint-plugin-import + // Note: import/no-unresolved stays on, since tsc accepts any path matched by a + // wildcard (e.g. Next's '*.module.css') without checking that the file exists. + 'import/named': 'off', + 'import/namespace': 'off', + 'import/default': 'off', + 'import/no-named-as-default-member': 'off', + // ---- 'import/order': [ 'error', {