Skip to content

feat(lint): install anti-slop oxlint plugin and fix type boundary vio… #287

feat(lint): install anti-slop oxlint plugin and fix type boundary vio…

feat(lint): install anti-slop oxlint plugin and fix type boundary vio… #287

Triggered via push August 15, 2026 13:46
Status Failure
Total duration 36s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 warning
check
Process completed with exit code 1.
check: src/lib/localStore.ts#L362
Type '{ [k: string]: unknown; }' is not assignable to type 'FormDraft'.
check: src/lib/localStore.ts#L221
Type '{ view?: View | undefined; mode?: AppMode | undefined; draft?: { [k: string]: unknown; } | undefined; observations?: Observation[] | undefined; lastSavedAt?: string | null | undefined; ... 6 more ...; offlineReady?: Record<string, boolean>; }' is not assignable to type 'Partial<AppState>'.
check: src/lib/adminBackend.ts#L50
Argument of type 'unknown' is not assignable to parameter of type 'Error | { context?: Response | undefined; } | null | undefined'.
check: src/homepage/FlowDemo.tsx#L253
Type 'Record<string, unknown>' is not assignable to type 'SubmissionValues'.
check: src/app/useAppController.ts#L528
Argument of type '(current: AppState) => { view: View; mode: AppMode; observations: Observation[]; lastSyncAt: string | null; storagePersistence: "granted" | "not-granted" | "unknown"; ... 6 more ...; lastSavedAt: string; }' is not assignable to parameter of type 'SetStateAction<AppState>'.
check: src/app/submission.ts#L116
Type 'EnvironmentInfo & Record<string, unknown>' is not assignable to type 'EnvironmentContext | undefined'.
check: src/app/submission.ts#L114
Type '{ [k: string]: unknown; }' is not assignable to type 'SubmissionValues'.
check
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/