From 66dec9c54e2c2231918f6a5bc97a58ff69bb21ce Mon Sep 17 00:00:00 2001 From: Lhcfl Date: Thu, 4 Apr 2024 14:51:31 +0800 Subject: [PATCH] chore: Chang `useImportType` to warn for vue files vue is only partically supported by biome (see https://biomejs.dev/internals/language-support/) Some components may be incorrectly recognized as type imports --- biome.json | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/biome.json b/biome.json index 1a51c3c16c..0c718da2ca 100644 --- a/biome.json +++ b/biome.json @@ -11,5 +11,17 @@ "noUselessElse": "off" } } - } + }, + "overrides": [ + { + "include": ["*.vue"], + "linter": { + "rules": { + "style": { + "useImportType": "warn" + } + } + } + } + ] }