Skip to content

fix(ci): improve lint error reporting with github format#287

Merged
AmethystLiang merged 1 commit intomainfrom
improve-ci-lint-report
Apr 4, 2026
Merged

fix(ci): improve lint error reporting with github format#287
AmethystLiang merged 1 commit intomainfrom
improve-ci-lint-report

Conversation

@AmethystLiang
Copy link
Copy Markdown
Contributor

Summary

  • Use --format github for oxlint in CI so lint errors include filenames as GitHub annotations
  • Previously, errors like "File has too many lines (405)" didn't show which file was broken

Test plan

  • Verified pnpm exec oxlint --format github produces ::error file=... annotations locally

The default oxlint output buries filenames in multi-line blocks, making
CI errors like "File has too many lines" hard to diagnose. The github
format produces ::error annotations with file paths front and center.
@AmethystLiang AmethystLiang merged commit ee7ac0c into main Apr 4, 2026
1 check passed
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