feat(preset/regex): add biome $schema (#28537)

This commit is contained in:
Adam Setch 2024-04-19 14:41:36 -04:00 committed by GitHub
parent 20d76117dc
commit bfa53be26a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,6 +3,21 @@ import type { Preset } from '../types';
/* eslint sort-keys: ["error", "asc", {caseSensitive: false, natural: true}] */
export const presets: Record<string, Preset> = {
biomeVersions: {
customManagers: [
{
customType: 'regex',
datasourceTemplate: 'npm',
depNameTemplate: '@biomejs/biome',
fileMatch: ['^biome.json$'],
matchStrings: [
'https://biomejs.dev/schemas/(?<currentValue>.*)/schema.json',
],
},
],
description:
'Update `$schema` version in `biome.json` configuration files.',
},
dockerfileVersions: {
customManagers: [
{