fix(lint): fix biome violations in packages/shared and add to CI (#2923)

The CI biome check only covered packages/cli/src/, .claude/scripts/,
and .claude/skills/setup-spa/ — packages/shared/src/ was unchecked,
allowing 7 lint/format violations to accumulate in its test files.

- Auto-fix import ordering, formatting, and useNumberNamespace lint
  across 3 test files in packages/shared/src/__tests__/
- Add packages/shared/src/ to the biome check in lint.yml so future
  violations are caught in CI

Co-authored-by: B <6723574+louisgv@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
A 2026-03-23 17:49:55 -07:00 committed by GitHub
parent 2f4fef049a
commit f5f0b9ec64
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 208 additions and 58 deletions

View file

@ -50,7 +50,7 @@ jobs:
run: bun install
- name: Run Biome check (all packages)
run: bunx @biomejs/biome check packages/cli/src/ .claude/scripts/ .claude/skills/setup-spa/
run: bunx @biomejs/biome check packages/cli/src/ packages/shared/src/ .claude/scripts/ .claude/skills/setup-spa/
macos-compat:
name: macOS Compatibility