fix(api): eliminate unsafe lint warnings #4

Merged
dahyeon merged 1 commits from release/87 into main 2026-07-25 05:23:15 +00:00
Owner

요약

  • Tekton의 --max-warnings=0 실행을 실패시키던 no-unsafe-argument 경고 16개를 제거했습니다.
  • Redis durability JSON과 마이그레이션 입력을 unknown 경계에서 검증한 뒤 사용하도록 변경했습니다.
  • Mongoose 모델 레지스트리와 TournamentCode 모델의 구체 타입을 연결하고 Schema 런타임 검증을 추가했습니다.
  • 도메인 오류 테스트는 any matcher 대신 실제 오류 클래스와 code를 확인합니다.

검증

  • pnpm --filter api exec eslint "{src,apps,libs,test}/**/*.ts" --max-warnings=0
  • pnpm --filter api build
  • pnpm --filter api exec jest --runInBand (99 suites, 617 tests)
## 요약 - Tekton의 --max-warnings=0 실행을 실패시키던 no-unsafe-argument 경고 16개를 제거했습니다. - Redis durability JSON과 마이그레이션 입력을 unknown 경계에서 검증한 뒤 사용하도록 변경했습니다. - Mongoose 모델 레지스트리와 TournamentCode 모델의 구체 타입을 연결하고 Schema 런타임 검증을 추가했습니다. - 도메인 오류 테스트는 any matcher 대신 실제 오류 클래스와 code를 확인합니다. ## 검증 - pnpm --filter api exec eslint "{src,apps,libs,test}/**/*.ts" --max-warnings=0 - pnpm --filter api build - pnpm --filter api exec jest --runInBand (99 suites, 617 tests)
dahyeon added 1 commit 2026-07-25 05:22:28 +00:00
dahyeon merged commit a24726d7da into main 2026-07-25 05:23:15 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dahyeon/lolympus-tournament-support#4