brackt/app/routes
Chris Parsons 4de6cb23a0 Fix no-shadow and consistent-function-scoping lint violations
Resolves all 11 no-shadow and 16 consistent-function-scoping oxlint
warnings and promotes both rules to errors in .oxlintrc.json.

no-shadow: renamed Drizzle callback params (sports→s, matches→m,
seasons→s) to avoid shadowing outer imports; removed shadowed
destructures (eq, inArray) from where callbacks; renamed inner
template→bracketTemplate, prev→currentTimers, season→ss, name→teamName
(with name: teamName fix to preserve semantics).

consistent-function-scoping: moved formatDate, getRankBadge,
getMovementIndicator, getPositionBadge, getStatusBadge, toDateStr,
elo (×2), weightedPick, sortByMatchNumber (×2) to module scope;
moved formatTime (×2), isValidLeagueName, getDraftTimes,
makeSeasonQueues to file scope in test files.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-21 10:14:54 -07:00
..
api Add oxlint linting setup with zero errors (#194) 2026-03-21 09:44:05 -07:00
leagues Fix no-shadow and consistent-function-scoping lint violations 2026-03-21 10:14:54 -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-shadow and consistent-function-scoping lint violations 2026-03-21 10:14:54 -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 Add oxlint linting setup with zero errors (#194) 2026-03-21 09:44:05 -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