Skip to content

chore(tooling): keep biome off Markdown and YAML after the 2.6 upgrade - #392

Open
katieschilling wants to merge 1 commit into
mainfrom
chore/biome-format-yaml-md
Open

katieschilling wants to merge 1 commit into
mainfrom
chore/biome-format-yaml-md

Conversation

@katieschilling

@katieschilling katieschilling commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary

pnpm check fails on main since the biome 2.6.3 bump (#389): biome 2.6 formats Markdown and YAML by default and flags 18 files (READMEs, AGENTS.md, the generated CHANGELOG.md files, pnpm-lock.yaml, pnpm-workspace.yaml, two workflows, specs.yaml). Because the pre-commit hook runs pnpm check, every commit on the repo currently needs HUSKY=0.

This restores the pre-upgrade behavior by disabling the two new formatters in biome.json, rather than reformatting the files: CHANGELOG.md and pnpm-lock.yaml are regenerated by changesets and pnpm and would drift again on the next release. It also bumps $schema to the installed version, which clears the "schema version does not match" info.

If we do want biome to own Markdown/YAML, that should be its own change with the generated files excluded and the rest formatted in one commit.

Test plan

  • biome check .: 496 files, 0 errors, 0 info
  • No source files touched

Unblocks #372 (which otherwise fails the hook on its changeset file).

🤖 Generated with Claude Code

https://claude.ai/code/session_01Hqe2uWQDRZXDwo7DZEu5En


Note

Low Risk
Config-only change to Biome formatters; no runtime, auth, or business logic is affected.

Overview
Biome 2.6 turns on Markdown and YAML formatting by default, which was breaking pnpm check / pre-commit on generated docs and lockfiles. This PR restores pre-upgrade behavior by explicitly disabling those formatters in biome.json, and updates $schema to 2.6.3 so it matches the installed Biome version.

No application or package source files are changed—only tooling config.

Reviewed by Cursor Bugbot for commit 257f1e8. Bugbot is set up for automated code reviews on this repo. Configure here.

Biome 2.6 formats Markdown and YAML by default, which made `pnpm check`
fail on main with 18 errors in READMEs, CHANGELOGs, workflows,
pnpm-lock.yaml and specs.yaml. Several of those are generated
(changesets, pnpm), so formatting them would churn on every release.
Disable the two new formatters to restore the pre-upgrade behavior and
point $schema at the installed version.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hqe2uWQDRZXDwo7DZEu5En
@greptile-apps

greptile-apps Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] This PR appears safe to merge; no actionable issues were found.

Summary

Updates biome.json to keep Markdown and YAML formatting disabled after the Biome upgrade.

  • Biome checks no longer format Markdown or YAML files.

Reviews (1) · Last reviewed commit: "chore(tooling): keep biome off Markdown ..." · Reviewed by Greptile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant