brackt/app/services/simulations
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
..
__tests__ Add oxlint linting setup with zero errors (#194) 2026-03-21 09:44:05 -07:00
auto-racing-simulator.ts Add oxlint linting setup with zero errors (#194) 2026-03-21 09:44:05 -07:00
bracket-simulator.ts Add oxlint linting setup with zero errors (#194) 2026-03-21 09:44:05 -07:00
golf-simulator.ts User/chris/ev f1 framework (#93) 2026-03-09 15:34:31 -07:00
nba-simulator.ts Fix no-shadow and consistent-function-scoping lint violations 2026-03-21 10:14:54 -07:00
ncaam-simulator.ts Fix no-shadow and consistent-function-scoping lint violations 2026-03-21 10:14:54 -07:00
ncaaw-simulator.ts Fix no-shadow and consistent-function-scoping lint violations 2026-03-21 10:14:54 -07:00
nhl-simulator.ts Fix no-shadow and consistent-function-scoping lint violations 2026-03-21 10:14:54 -07:00
registry.ts Add NHL playoff simulator and fix simulator dropdown (#166) 2026-03-18 01:23:53 -07:00
types.ts User/chris/ev f1 framework (#93) 2026-03-09 15:34:31 -07:00
ucl-simulator.ts Add oxlint linting setup with zero errors (#194) 2026-03-21 09:44:05 -07:00