From d7c6c969ed7a6b8f0cfd18e4c5f6718a74c66061 Mon Sep 17 00:00:00 2001 From: Yiming Li Date: Thu, 10 Sep 2026 22:48:42 +0800 Subject: [PATCH] fix: use the Biome linter preset instead of the deprecated recommended field Biome 2.5 deprecates linter.rules.recommended in favor of linter.rules.preset, so every project scaffolded with Biome reported a deprecation on its first check. Use the configuration biome migrate produces. --- template-biome/biome.json.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template-biome/biome.json.template b/template-biome/biome.json.template index 53f38c7..d9d2b76 100644 --- a/template-biome/biome.json.template +++ b/template-biome/biome.json.template @@ -28,7 +28,7 @@ "linter": { "enabled": true, "rules": { - "recommended": true + "preset": "recommended" } } }