- Install oxlint, add .oxlintrc.json with rules for TypeScript/React - Add npm run lint / lint:fix scripts - Add Claude PostToolUse hook to run oxlint on every edited file - Fix 101 errors: unused vars/imports, eqeqeq, prefer-const, no-new-array - Fix no-array-index-key (use stable keys or suppress positional cases) - Fix exhaustive-deps missing dependency in useEffect - Promote exhaustive-deps and no-array-index-key to errors - Fix Map.get() !== null bug in $leagueId.server.ts (should be !== undefined) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| AuthRecoveryOverlay.tsx | ||
| AvailableParticipantsSection.tsx | ||
| ConnectionOverlay.tsx | ||
| DraftGridSection.tsx | ||
| DraftSummaryView.tsx | ||
| ParticipantSelectionDialog.tsx | ||
| picks-utils.ts | ||
| QueueSection.tsx | ||
| RecentPicksSection.tsx | ||
| SidebarRecentPicks.tsx | ||
| TeamRosterView.tsx | ||
| TeamsDraftedGrid.tsx | ||