Task Template
Title:
Build: add Biome to npm check
Description:
Add Biome to the repository's npm check pipeline so CI and local development run Biome linting alongside existing checks (ESLint, type-check, tests). This should include installing Biome as a dev dependency and updating the relevant npm scripts (for example flint or check) so that pnpm run check invokes Biome and fails the build on lint errors.
Motivation:
Biome is a fast, modern lint/format/static analysis tool that can complement or replace parts of ESLint/Prettier. Integrating Biome into the check pipeline ensures consistent linting is enforced in CI and by local developers, improving code quality and reducing formatting/lint-related PR churn.
Acceptance Criteria:
Additional Context:
- Current
package.json scripts of interest: check -> run-p flint type-check test, and flint -> pnpm run fix && pnpm run lint (see package.json root).
- App version (from .scripts/semver.sh): $(.scripts/semver.sh 2>/dev/null || echo "unknown")
Task Template
Title:
Build: add Biome to npm check
Description:
Add Biome to the repository's npm
checkpipeline so CI and local development run Biome linting alongside existing checks (ESLint, type-check, tests). This should include installing Biome as a dev dependency and updating the relevant npm scripts (for exampleflintorcheck) so thatpnpm run checkinvokes Biome and fails the build on lint errors.Motivation:
Biome is a fast, modern lint/format/static analysis tool that can complement or replace parts of ESLint/Prettier. Integrating Biome into the
checkpipeline ensures consistent linting is enforced in CI and by local developers, improving code quality and reducing formatting/lint-related PR churn.Acceptance Criteria:
package.json(document package name and version).pnpm run check(or theflintscript) runs Biome and fails on lint errors.pnpm run copilot:check/pnpm run check) passes with Biome enabled..biomerc/biome.config.*) with rationale for key rules.Additional Context:
package.jsonscripts of interest:check->run-p flint type-check test, andflint->pnpm run fix && pnpm run lint(seepackage.jsonroot).