brackt/app/components/draft
Chris Parsons 552fe28b99 Fix no-non-null-assertion lint violations and promote to error
Eliminates all 208 no-non-null-assertion warnings across 38 files.
Promotes typescript/no-non-null-assertion from warn to error in
.oxlintrc.json.

Fix patterns applied:
- Map.get(key)! after .has() check → extract with get() + null guard
- Map.get(key)! on pre-populated count maps → ?? 0 default
- .set(id, map.get(id)! + 1) increment → ?? 0 before adding
- participant1Id!/participant2Id! on DB matches → ?? "" fallback
- array.find()! in tests → guard + throw or expect().toBeDefined()
- bracketTemplateCache.get(id)! → null guard extract
- Various nullable field accesses → optional chain or ?? default

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-21 10:48:48 -07:00
..
AuthRecoveryOverlay.tsx fix: prevent silent logout during long-running draft sessions (#49) 2026-03-01 19:33:03 -08:00
AvailableParticipantsSection.tsx perf: fix draft room lag from excessive re-renders and listener leaks (#54) 2026-03-02 13:18:47 -08:00
ConnectionOverlay.tsx Add oxlint linting setup with zero errors (#194) 2026-03-21 09:44:05 -07:00
DraftGridSection.tsx Add oxlint linting setup with zero errors (#194) 2026-03-21 09:44:05 -07:00
DraftSummaryView.tsx feat: add totalRounds prop to DraftSummaryView and pass from DraftRoom (#60) 2026-03-02 22:19:19 -08:00
ParticipantSelectionDialog.tsx fix: prevent iOS Safari viewport zoom on draft room form inputs (#45) 2026-02-27 23:46:09 -08:00
picks-utils.ts Fix no-non-null-assertion lint violations and promote to error 2026-03-21 10:48:48 -07:00
QueueSection.tsx Improve drag handle UX in queue items with activator node (#188) 2026-03-20 16:19:44 -07:00
RecentPicksSection.tsx Add oxlint linting setup with zero errors (#194) 2026-03-21 09:44:05 -07:00
SidebarRecentPicks.tsx Add oxlint linting setup with zero errors (#194) 2026-03-21 09:44:05 -07:00
TeamRosterView.tsx refactor: address code review findings in Roster/Summary draft views (#57) 2026-03-02 16:46:35 -08:00
TeamsDraftedGrid.tsx Fix no-non-null-assertion lint violations and promote to error 2026-03-21 10:48:48 -07:00