From ee7ac0cbc019e15a7c19e53c159973b995f2080e Mon Sep 17 00:00:00 2001 From: Jinjing <6427696+AmethystLiang@users.noreply.github.com> Date: Fri, 3 Apr 2026 23:30:23 -0700 Subject: [PATCH] fix(ci): use github format for oxlint to show filenames in lint errors (#287) 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. --- .github/workflows/pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 1316ffd2668..785564a7e93 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -30,7 +30,7 @@ jobs: run: pnpm install --frozen-lockfile - name: Lint - run: pnpm lint + run: pnpm exec oxlint --format github - name: Typecheck run: pnpm typecheck