Skip to content

ci: enforce lint and formatting instead of silently fixing them - #123

Merged
daquinoaldo merged 1 commit into
masterfrom
ci/lint-enforcement
Sep 16, 2026
Merged

daquinoaldo merged 1 commit into
masterfrom
ci/lint-enforcement

Conversation

@daquinoaldo

@daquinoaldo daquinoaldo commented Sep 16, 2026

Copy link
Copy Markdown
Owner

Summary

pnpm lint ran oxfmt in write mode and oxlint --fix, so CI silently rewrote an unformatted tree and passed — format and lint drift was never caught.

  • lint is now non-mutating: oxfmt --check && oxlint && knip && tsc --noEmit
  • New fix script that runs everything lint does, plus the auto-format (oxfmt) and auto-fix (oxlint --fix) passes: oxfmt && oxlint --fix && knip && tsc --noEmit
  • CONTRIBUTING documents both

Verified: pnpm lint and pnpm fix both pass on a clean tree.

🤖 Generated with OpenCode (Smart-router)

@daquinoaldo daquinoaldo self-assigned this Sep 16, 2026
pnpm lint ran oxfmt in write mode and oxlint --fix, so CI rewrote an
unformatted tree and passed: format and lint drift was never caught.
Make lint non-mutating (oxfmt --check, plain oxlint) and add a fix
script that runs everything lint does plus the auto-format and
auto-fix passes. Document both in CONTRIBUTING.

🤖 Generated with [OpenCode](https://opencode.ai) (Smart-router)
@daquinoaldo
daquinoaldo merged commit 04bac62 into master Sep 16, 2026
7 of 8 checks passed
@daquinoaldo
daquinoaldo deleted the ci/lint-enforcement branch September 16, 2026 10:46
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