Phase 13: Real Lint Gate — type-aware ESLint + Prettier format gate #8

Merged
luckberg merged 25 commits from gsd/phase-13-real-lint-gate-eslint into main 2026-06-11 21:51:10 -04:00
Showing only changes of commit 3f2e3ea659 - Show all commits
@@ -25,11 +25,15 @@ const {
mockLastSyncedUid, mockLastSyncedUid,
mockSetLastSyncedUid, mockSetLastSyncedUid,
mockFetchSyncStatus, mockFetchSyncStatus,
} = vi.hoisted(() => ({ } = vi.hoisted(() => {
mockLastSyncedUid: { value: 'test-uid-123' as string | null }, // Declare with explicit type so later null assignments (line 82+) stay type-safe
mockSetLastSyncedUid: vi.fn(), const mockLastSyncedUid: { value: string | null } = { value: 'test-uid-123' }
mockFetchSyncStatus: vi.fn(), return {
})) mockLastSyncedUid,
mockSetLastSyncedUid: vi.fn(),
mockFetchSyncStatus: vi.fn(),
}
})
vi.mock('../store/calendarStore.js', () => ({ vi.mock('../store/calendarStore.js', () => ({
useCalendarStore: (selector: (s: Record<string, unknown>) => unknown) => { useCalendarStore: (selector: (s: Record<string, unknown>) => unknown) => {