ci: ratchet biome-gate baseline and update biome.json schema #186
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Following the fixes in PR #185,
useOptionalChainanduseTemplatehave 0 findings..forgejo/scripts/biome-gate.shfailed in CI because its built-in ratchet mechanism requires removing eliminated rules fromBASELINE. Additionally,biome.jsonspecifies schema2.2.0while the environment runs Biome CLI2.4.16, producing adeserializediagnostic.Acceptance Criteria
lint/complexity/useOptionalChainandlint/style/useTemplatefromBASELINEin.forgejo/scripts/biome-gate.sh.$schemainbiome.jsonto2.4.16and updateBASELINEaccordingly..forgejo/scripts/biome-gate.shpasses cleanly (exit code 0).pnpm lint,pnpm test, andpnpm typecheckcontinue to pass cleanly.