From da661d44951b77fa415876e03b089945f0e998a7 Mon Sep 17 00:00:00 2001 From: imbytecat Date: Wed, 21 Jan 2026 16:01:27 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E9=99=A4=20biome=20=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E4=B8=AD=E5=AF=B9=20useHookAtTopLevel=20=E7=9A=84?= =?UTF-8?q?=E7=A6=81=E7=94=A8=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除 biome 配置中对 useHookAtTopLevel 规则的禁用设置 --- apps/server/biome.json | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/apps/server/biome.json b/apps/server/biome.json index 33ce720..02b721b 100644 --- a/apps/server/biome.json +++ b/apps/server/biome.json @@ -3,17 +3,5 @@ "extends": "//", "files": { "includes": ["**", "!**/routeTree.gen.ts"] - }, - "overrides": [ - { - "includes": ["**"], - "linter": { - "rules": { - "correctness": { - "useHookAtTopLevel": "off" - } - } - } - } - ] + } }