Skip to content

ci(root): add biome lint enforcement, clean up test suppressions#71

Merged
oorabona merged 1 commit into
mainfrom
chore/lint-clean-ci
Jun 11, 2026
Merged

ci(root): add biome lint enforcement, clean up test suppressions#71
oorabona merged 1 commit into
mainfrom
chore/lint-clean-ci

Conversation

@oorabona

Copy link
Copy Markdown
Collaborator

Summary

Lint was never enforced in CI, so warnings accumulated silently on main (70 at last count). This adds a strict lint job to the build workflow (biome check . --error-on-warnings — ANY diagnostic fails) and makes the tree pass it:

  • Removes a dead private configDir field in hub's ThemeManager (written in the constructor, never read)
  • Disables style/noNonNullAssertion for **/*.spec.ts via a biome override — non-null assertions on known-present fixtures are standard test idiom; the rule stays active for production code
  • Removes the per-line biome-ignore suppression comments that the override made orphaned (an unused suppression is itself a diagnostic under the strict gate)
  • Groups the GITHUB_OUTPUT writes in the build-matrix step (shellcheck style)

Test plan

  • biome check . --error-on-warnings exits 0 (was: 70 warnings)
  • Full suite green: 2589 passed | 10 skipped; pnpm -r typecheck green; actionlint clean on build.yml
  • CI on this PR shows the new Lint job running and green

Lint rules were never enforced in CI, allowing warnings to accumulate on
main. Add a strict `lint` job running `biome check . --error-on-warnings`.

Make the tree pass by removing dead `configDir` field in ThemeManager
(written but never read), and disable noNonNullAssertion for all test
files via biome override (fixtures with known-present properties are
standard test idiom). Remove now-orphaned per-line biome-ignore comments.

Also group GITHUB_OUTPUT writes in build matrix step for clarity.
@oorabona oorabona merged commit ef6a523 into main Jun 11, 2026
9 checks passed
@oorabona oorabona deleted the chore/lint-clean-ci branch June 11, 2026 00:24
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