chore(ci): enforce zero ESLint warnings

All pre-existing ESLint warnings have been fixed. Update CI to reject
any new warnings by setting --max-warnings 0.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
yushen
2026-01-20 17:19:52 +08:00
parent a3e98350a3
commit 80d12cb2f1

View File

@@ -44,8 +44,7 @@ jobs:
run: pnpm typecheck
- name: ESLint
# TODO: Reduce --max-warnings to 0 as pre-existing issues are fixed
run: pnpm lint --max-warnings 250
run: pnpm lint --max-warnings 0
- name: Prettier check
run: pnpm format:check