brackt/app/routes
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
..
api Add oxlint linting setup with zero errors (#194) 2026-03-21 09:44:05 -07:00
leagues Fix no-non-null-assertion lint violations and promote to error 2026-03-21 10:48:48 -07:00
teams feat: add meta title to all route pages (#109) 2026-03-10 12:10:52 -07:00
admin._index.tsx Fix no-shadow and consistent-function-scoping lint violations 2026-03-21 10:14:54 -07:00
admin.data-sync.tsx feat: add meta title to all route pages (#109) 2026-03-10 12:10:52 -07:00
admin.participants.tsx feat: add meta title to all route pages (#109) 2026-03-10 12:10:52 -07:00
admin.sports-seasons.$id.events.$eventId.bracket.server.ts Add oxlint linting setup with zero errors (#194) 2026-03-21 09:44:05 -07:00
admin.sports-seasons.$id.events.$eventId.bracket.tsx Fix no-non-null-assertion lint violations and promote to error 2026-03-21 10:48:48 -07:00
admin.sports-seasons.$id.events.$eventId.server.ts Add event_starts_at timestamp to scoring events for sub-day ordering (#146) 2026-03-15 10:22:42 -07:00
admin.sports-seasons.$id.events.$eventId.tsx Add oxlint linting setup with zero errors (#194) 2026-03-21 09:44:05 -07:00
admin.sports-seasons.$id.events.server.ts Add oxlint linting setup with zero errors (#194) 2026-03-21 09:44:05 -07:00
admin.sports-seasons.$id.events.tsx Fix no-shadow and consistent-function-scoping lint violations 2026-03-21 10:14:54 -07:00
admin.sports-seasons.$id.expected-values.server.ts Add NCAAM and NCAAW bracket Monte Carlo simulators (#150) 2026-03-15 23:31:47 -07:00
admin.sports-seasons.$id.expected-values.tsx Fix no-non-null-assertion lint violations and promote to error 2026-03-21 10:48:48 -07:00
admin.sports-seasons.$id.futures-odds.tsx Add oxlint linting setup with zero errors (#194) 2026-03-21 09:44:05 -07:00
admin.sports-seasons.$id.participants.tsx Add oxlint linting setup with zero errors (#194) 2026-03-21 09:44:05 -07:00
admin.sports-seasons.$id.regular-standings.tsx Add oxlint linting setup with zero errors (#194) 2026-03-21 09:44:05 -07:00
admin.sports-seasons.$id.simulate.tsx Recalculate league standings after EV simulation updates (#186) 2026-03-20 14:39:05 -07:00
admin.sports-seasons.$id.standings.tsx Add oxlint linting setup with zero errors (#194) 2026-03-21 09:44:05 -07:00
admin.sports-seasons.$id.tsx Add oxlint linting setup with zero errors (#194) 2026-03-21 09:44:05 -07:00
admin.sports-seasons.new.tsx Add oxlint linting setup with zero errors (#194) 2026-03-21 09:44:05 -07:00
admin.sports-seasons.tsx Add isDraftable toggle to sport seasons (#165) (#178) 2026-03-18 22:40:19 -07:00
admin.sports.$id.tsx Add NHL playoff simulator and fix simulator dropdown (#166) 2026-03-18 01:23:53 -07:00
admin.sports.new.tsx feat: add meta title to all route pages (#109) 2026-03-10 12:10:52 -07:00
admin.sports.tsx feat: add meta title to all route pages (#109) 2026-03-10 12:10:52 -07:00
admin.standings-snapshots.tsx Fix no-shadow and consistent-function-scoping lint violations 2026-03-21 10:14:54 -07:00
admin.templates.$id.tsx feat: add meta title to all route pages (#109) 2026-03-10 12:10:52 -07:00
admin.templates.new.tsx feat: add meta title to all route pages (#109) 2026-03-10 12:10:52 -07:00
admin.templates.tsx feat: add meta title to all route pages (#109) 2026-03-10 12:10:52 -07:00
admin.tsx feat: add meta title to all route pages (#109) 2026-03-10 12:10:52 -07:00
api.admin.export-sports-data.ts feat: add admin routes and checkbox component for sports management 2025-10-12 21:54:49 -07:00
home.tsx Add oxlint linting setup with zero errors (#194) 2026-03-21 09:44:05 -07:00
how-to-play.tsx Add rules page, rewrite how-to-play, and fix scoring display (#20) 2026-02-21 21:58:51 -08:00
i.$inviteCode.tsx Optimize user data fetching with batch queries and centralize display name logic (#176) 2026-03-18 16:46:07 -07:00
rules.tsx Add rules page, rewrite how-to-play, and fix scoring display (#20) 2026-02-21 21:58:51 -08:00
test-socket.tsx Add oxlint linting setup with zero errors (#194) 2026-03-21 09:44:05 -07:00
user-profile.tsx feat: add meta title to all route pages (#109) 2026-03-10 12:10:52 -07:00