From b052bd699443a94a90db8d3ed7206eb178f69819 Mon Sep 17 00:00:00 2001 From: juju35 <575235+juju35@users.noreply.github.com> Date: Tue, 1 Dec 2026 09:23:04 +0100 Subject: [PATCH] ci: drop the versioned $schema from biome.json Dependabot bumps the Biome pre-commit hook (rev and additional_dependencies) but never biome.json, so a pinned $schema broke every Biome bump. The schema line goes, and the CI keeps checking that the hook's rev and npm package agree. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01F4sAn3GAwM9begEccbesqJ --- .github/dependabot.yml | 8 +++----- biome.json | 1 - 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 261e315..ac403bc 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -17,15 +17,13 @@ updates: dev-dependencies: dependency-type: development patterns: ["*"] - # Hooks of .pre-commit-config.yaml. Biome stays pinned by hand: its version must move together in the - # hook's rev, its additional_dependencies and biome.json ($schema), so Dependabot leaves it alone. - # The Lint workflow reads it from the hook and fails when the three disagree. + # Hooks of .pre-commit-config.yaml, Biome included: Dependabot bumps the hook's rev and its + # additional_dependencies together, and biome.json carries no versioned $schema. The Lint workflow + # reads the Biome version from the hook and fails when the two disagree. - package-ecosystem: pre-commit directory: / schedule: interval: monthly - ignore: - - dependency-name: "*biomejs*" groups: pre-commit-hooks: patterns: ["*"] diff --git a/biome.json b/biome.json index 145d340..9cf3485 100644 --- a/biome.json +++ b/biome.json @@ -1,5 +1,4 @@ { - "$schema": "https://biomejs.dev/schemas/2.6.8/schema.json", "files": { "includes": ["**/*.js", "**/*.mjs", "!**/dist", "!**/vendor", "!**/node_modules", "!**/*.min.js", "!custom_components/github_card/frontend/github-card.js", "!custom_components/github_card/frontend/github-panel.js"] },