Skip to content

chore(deps): bump Biome to 2.6.2 and pin the Dependabot sweep versions - #145

Merged
Madraka merged 2 commits into
mainfrom
chore/biome-2-6
Nov 7, 2026
Merged

Madraka merged 2 commits into
mainfrom
chore/biome-2-6

Conversation

@Madraka

@Madraka Madraka commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

What

Replaces Dependabot's #137 (@biomejs/biome 2.5.15 → 2.6.2, the dev-tooling group), which failed pnpm lint with 176 "Formatter would have printed" errors: Biome 2.6 formats Markdown and YAML by default, and 2.5 never touched CODE_OF_CONDUCT.md, docs/, .agents/skills/ or .github/ISSUE_TEMPLATE/*.yml.

This PR keeps the upgrade behaviour-neutral:

  • biome.json: $schema → 2.6.2; markdown.formatter.enabled: false and yaml.formatter.enabled: false. Turning Markdown/YAML formatting on is a separate decision (it rewrites ~170 files, mostly prose wrapping and list markers).
  • Biome 2.6's CSS formatter indents nested selector lists one level deeper: three starter stylesheets reformatted (starters/blog/src/styles/features/{chrome-menus,motion,surfaces}.css), whitespace only.
  • noComponentHookFactories joined the recommended set: the Filters helper component in packages/ui/test/schedules.test.tsx moves from inside the describe to module level (test-only).
  • New rule useMathMinMax adds 7 warnings (pnpm lint now 442 warnings vs 435 on 2.5.15; 0 errors either way; pnpm check runs with --diagnostic-level=error, so unaffected).

Also pins the versions the Dependabot sweep landed on main (#138, #140, #141, #142): AGENTS.md Versions line (Biome 2.6, jsonschema 0.60, wrangler 4.152), ADR-0006, ADR-0012, docs/engineering/code-structure.md, plus .changeset/deps-2026-11.md for @cloudhal/astro-renderer, @cloudhal/cli and @cloudhal/cloudflare (wrangler is their dependency).

@astrojs/cloudflare stays at 14.3.4: #139 (14.4.2) fails after its rebase because the regenerated lockfile resolves @cloudflare/vite-plugin 1.67.0, whose peer range is wrangler ^4.156.1, while main has 4.152.0. It needs a wrangler bump (latest 4.158.0) first; ADR-0012 notes this.

Verified locally: pnpm lint (0 errors), pnpm typecheck, pnpm design:lint (400 files clean). Tests run in CI only (per the owner's request, no local test suites while other sessions are running).

Checklist

  • pnpm check and cargo test --workspace pass locally — relying on CI (lint, typecheck and design lint pass locally)
  • Contract change? pnpm gen was run and generated files are committed (docs/adr/0001) — n/a
  • User-visible change in a published package? pnpm changeset added
  • Commits are signed off (git commit -s, DCO)
  • Docs / AGENTS.md updated if behaviour or commands changed

🤖 Generated with Claude Code

…matting off

Biome 2.6 formats Markdown and YAML by default, which would rewrite 176
docs, skill and issue-template files. This upgrade is behaviour-neutral:
markdown.formatter.enabled and yaml.formatter.enabled are false, so
turning them on is a separate decision. The 2.6 CSS formatter indents
nested selector lists one level deeper (three starter stylesheets), and
noComponentHookFactories joined the recommended set, so the Filters
helper in packages/ui's schedules test moves to module level. The new
useMathMinMax rule adds seven warnings; pnpm check reads errors only.

Also: AGENTS.md, ADR-0006, ADR-0012 and code-structure.md pin the
versions the Dependabot sweep landed (Biome 2.6, jsonschema 0.60,
wrangler 4.152, @astrojs/cloudflare 14.4), with a changeset for the
published packages that depend on wrangler and @astrojs/cloudflare.

Supersedes #137.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Signed-off-by: Madraka <[email protected]>
Dependabot's #139 (14.4.2) fails after its rebase: the regenerated
lockfile resolves @cloudflare/vite-plugin 1.67.0, whose peer range is
wrangler ^4.156.1, while main is on 4.152.0. AGENTS.md, ADR-0012 and
the changeset now describe what is on main.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Signed-off-by: Madraka <[email protected]>
@Madraka
Madraka merged commit 0bae52b into main Nov 7, 2026
6 checks passed
@Madraka
Madraka deleted the chore/biome-2-6 branch November 7, 2026 22:48
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