Skip to content

feat: Pilot Survey

feat: Pilot Survey #81

Triggered via pull request November 7, 2025 02:09
Status Failure
Total duration 34s
Artifacts

quality-checks.yml

on: pull_request
Matrix: lint-and-type-check
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 20 warnings
lint-and-type-check (client): client/src/hooks/useApi.tsx#L65
Unsafe usage of optional chaining. If it short-circuits with 'undefined' the evaluation will throw TypeError
lint-and-type-check (client): client/src/hooks/useApi.tsx#L53
React Hook "useSWR" is called conditionally. React Hooks must be called in the exact same order in every component render
lint-and-type-check (client): client/src/components/forms/PhoneInput.tsx#L49
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator
lint-and-type-check (client): client/src/components/forms/PhoneInput.tsx#L18
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator
lint-and-type-check (client): client/src/components/forms/FormSelect.tsx#L32
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator
lint-and-type-check (client): client/src/components/forms/FormSelect.tsx#L31
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator
lint-and-type-check (client): client/src/components/forms/FormInput.tsx#L16
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator
lint-and-type-check (server)
The strategy configuration was canceled because "lint-and-type-check.client" failed
lint-and-type-check (server)
The operation was canceled.
lint-and-type-check (client): client/src/hooks/useApi.tsx#L215
Unexpected any. Specify a different type
lint-and-type-check (client): client/src/hooks/useApi.tsx#L215
Unexpected any. Specify a different type
lint-and-type-check (client): client/src/hooks/useApi.tsx#L212
Unexpected any. Specify a different type
lint-and-type-check (client): client/src/hooks/useApi.tsx#L204
Unexpected any. Specify a different type
lint-and-type-check (client): client/src/hooks/useApi.tsx#L199
Unexpected any. Specify a different type
lint-and-type-check (client): client/src/hooks/useApi.tsx#L46
Unexpected console statement
lint-and-type-check (client): client/src/contexts/AuthContext.tsx#L179
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
lint-and-type-check (client): client/src/contexts/AuthContext.tsx#L128
Unexpected console statement
lint-and-type-check (client): client/src/contexts/AuthContext.tsx#L90
React Hook useEffect has missing dependencies: 'state.token' and 'state.userObjectId'. Either include them or remove the dependency array
lint-and-type-check (client): client/src/components/Header.tsx#L46
Unexpected any. Specify a different type
lint-and-type-check (server): server/src/database/survey/mongoose/survey.hooks.ts#L93
Unexpected any. Specify a different type
lint-and-type-check (server): server/src/database/survey/mongoose/survey.hooks.ts#L92
Unexpected any. Specify a different type
lint-and-type-check (server): server/src/database/survey/mongoose/survey.hooks.ts#L36
Unexpected any. Specify a different type
lint-and-type-check (server): server/src/database/survey/mongoose/survey.hooks.ts#L35
Unexpected any. Specify a different type
lint-and-type-check (server): server/src/database/survey/mongoose/survey.hooks.ts#L11
Unexpected any. Specify a different type
lint-and-type-check (server): server/src/database/survey/mongoose/survey.hooks.ts#L11
Unexpected any. Specify a different type
lint-and-type-check (server): server/src/database/seed/mongoose/seed.hooks.ts#L7
Unexpected any. Specify a different type
lint-and-type-check (server): server/src/database/seed/mongoose/seed.hooks.ts#L7
Unexpected any. Specify a different type