fix(presets): respect biome.jsonc in the biomeVersions regex manager (#28821)

This commit is contained in:
Hikari Hayashi 2024-05-03 20:16:51 +08:00 committed by GitHub
parent 0890617d57
commit 9e34bd7258
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"',
],