Repository navigation
fix(frontend): use Biome 2.6.6, the version of the root configuration - #1908
Conversation
The root biome.json uses the 2.6.6 schema and the keys preset, markdown and yaml (4e2152c). The frontend still installed Biome 2.4.0, which does not know these keys. So `pnpm lint` failed in CI before it checked a file. - Pin @biomejs/biome 2.6.6 in frontend/package.json and the lockfile. - Exclude public/assets from Biome. Version 2.6 lints standalone SVG files and asks for a title. These files are images that <img> loads, and the alt text gives the accessible name. - Remove five unsafe optional chains in three spec files. A missing element still fails the test. - Apply the 2.6 formatter to three spec files. Lint exit 0, typecheck clean, vitest 2569/2569. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The root biome.json uses the 2.6.6 schema and the keys preset, markdown and yaml (4e2152c). The frontend still installed Biome 2.4.0, which does not know these keys. So
pnpm lintfailed in CI before it checked a file.Lint exit 0, typecheck clean, vitest 2569/2569.
Summary by CodeRabbit