Skip to content
Snippets Groups Projects
Unverified Commit dbd9da01 authored by Hikari Hayashi's avatar Hikari Hayashi Committed by GitHub
Browse files

feat(presets): use a more accurate rule for biomeVersions regex manager (#28806)

parent 5dab7705
Branches
Tags 19.175.0
No related merge requests found
...@@ -9,9 +9,9 @@ export const presets: Record<string, Preset> = { ...@@ -9,9 +9,9 @@ export const presets: Record<string, Preset> = {
customType: 'regex', customType: 'regex',
datasourceTemplate: 'npm', datasourceTemplate: 'npm',
depNameTemplate: '@biomejs/biome', depNameTemplate: '@biomejs/biome',
fileMatch: ['^biome.json$'], fileMatch: ['(^|/)biome.json$'],
matchStrings: [ matchStrings: [
'https://biomejs.dev/schemas/(?<currentValue>.*)/schema.json', '"https://biomejs.dev/schemas/(?<currentValue>[^"]+)/schema.json"',
], ],
}, },
], ],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment