From 9e34bd725835c4acd85449afd41ab50dbf42a819 Mon Sep 17 00:00:00 2001
From: Hikari Hayashi <rev.hikari@gmail.com>
Date: Fri, 3 May 2024 20:16:51 +0800
Subject: [PATCH] fix(presets): respect biome.jsonc in the biomeVersions regex
 manager (#28821)

---
 lib/config/presets/internal/regex-managers.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/config/presets/internal/regex-managers.ts b/lib/config/presets/internal/regex-managers.ts
index 809956e1b1..3cfc679042 100644
--- a/lib/config/presets/internal/regex-managers.ts
+++ b/lib/config/presets/internal/regex-managers.ts
@@ -9,7 +9,7 @@ export const presets: Record<string, Preset> = {
         customType: 'regex',
         datasourceTemplate: 'npm',
         depNameTemplate: '@biomejs/biome',
-        fileMatch: ['(^|/)biome.json$'],
+        fileMatch: ['(^|/)biome.jsonc?$'],
         matchStrings: [
           '"https://biomejs.dev/schemas/(?<currentValue>[^"]+)/schema.json"',
         ],
-- 
GitLab