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"] },