Skip to content

Commit

Permalink
feat(presets): use a more accurate rule for biomeVersions regex manag…
Browse files Browse the repository at this point in the history
…er (#28806)
  • Loading branch information
latin-1 committed May 3, 2024
1 parent 5dab770 commit dbd9da0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/config/presets/internal/regex-managers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ export const presets: Record<string, Preset> = {
customType: 'regex',
datasourceTemplate: 'npm',
depNameTemplate: '@biomejs/biome',
fileMatch: ['^biome.json$'],
fileMatch: ['(^|/)biome.json$'],
matchStrings: [
'https://biomejs.dev/schemas/(?<currentValue>.*)/schema.json',
'"https://biomejs.dev/schemas/(?<currentValue>[^"]+)/schema.json"',
],
},
],
Expand Down

0 comments on commit dbd9da0

Please sign in to comment.