Skip to content

fix(lint): pre-fix Biome 2.5.0 lint errors before dep update merges#540

Open
fro-bot wants to merge 1 commit into
mainfrom
fix/biome-2.5-lint-pre-fix
Open

fix(lint): pre-fix Biome 2.5.0 lint errors before dep update merges#540
fro-bot wants to merge 1 commit into
mainfrom
fix/biome-2.5-lint-pre-fix

Conversation

@fro-bot

@fro-bot fro-bot commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator

Summary

Pre-emptive fixes for two new Biome 2.5.0 error-level rules that cause PR #538 (@biomejs/biome 2.4.16 → 2.5.0) to fail the Lint check.

Problems fixed

1. lint/a11y/noSvgWithoutTitledocs/public/favicon.svg

Biome 2.5.0 added a new a11y rule requiring SVG elements to have an accessible title. Added <title id="favicon-title">Systematic</title> and role="img" aria-labelledby="favicon-title" attributes.

2. lint/complexity/noImportantStylesdocs/src/styles/custom.css (3 violations)

.install-title used !important to override Starlight's heading specificity on margin, font-size, and color. Replaced with a higher-specificity selector .install-header .install-title (2 class chain) which beats the Starlight h3 rule without !important.

Verification

  • bun run lint — exits 0, 6 warnings only (persistent complexity warnings, unchanged)
  • bun run docs:verify — 112 pages built successfully
  • Docs visual appearance unchanged (selector specificity increase is semantically equivalent)

Context

PR #538 (chore(dev): update all non-major dependencies to v2.5.0) touches package.json + bun.lock and cannot be repaired by fro-bot directly. Merging this PR first unblocks #538.


Autohealing run: 2026-06-16

- Add <title> and aria-labelledby to docs/public/favicon.svg to satisfy
  the new noSvgWithoutTitle a11y rule introduced in Biome 2.5.0
- Replace .install-title !important overrides in custom.css with higher-
  specificity .install-header .install-title selector to satisfy the
  noImportantStyles rule (3 violations) without weakening the style intent

These changes ensure lint passes cleanly after PR #538 (Biome 2.4.16 →
2.5.0) merges.
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