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`." + } + ] } }