From 8f6d7daefacc3ac494dd75b70492c4331baaa3b9 Mon Sep 17 00:00:00 2001 From: Ethan Graf Date: Mon, 18 May 2026 00:33:11 -0400 Subject: [PATCH] Block inline imports --- .eslintrc.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.eslintrc.json b/.eslintrc.json index 4f3f10e..11ec22b 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -19,5 +19,14 @@ "typescript": true, "node": true } + }, + "rules": { + "no-restricted-syntax": [ + "error", + { + "selector": "TSImportType[qualifier!=null]", + "message": "Use a top-level `import type` instead of inline `import('…').Type`." + } + ] } } -- 2.51.2