From 064b5bdfc6bb49784aec24709b97516ce0c9c828 Mon Sep 17 00:00:00 2001 From: teppeis Date: Thu, 28 Sep 2023 18:31:42 +0900 Subject: [PATCH] fix(typescript): disable n/no-missing-import for TS --- src/configs/typescript.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/configs/typescript.ts b/src/configs/typescript.ts index 6191b790..0bce00b9 100644 --- a/src/configs/typescript.ts +++ b/src/configs/typescript.ts @@ -34,6 +34,9 @@ export const typescript: Linter.FlatConfig = merge(moduleBase, { { line: { markers: ["/"] }, block: { balanced: true } }, ], + // Check with TSC instead + "n/no-missing-import": 0, + // Extend ESLint rules (enabled in base config) // NOTE: skip extending stylistic rules that are overrided by prettier "no-invalid-this": 0,