Skip to content

Frontend form error handling #181

Frontend form error handling

Frontend form error handling #181

Triggered via pull request February 20, 2025 02:08
Status Failure
Total duration 1m 1s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors
format
@cooper/web#format: command (/home/runner/work/cooper/cooper/apps/web) /home/runner/setup-pnpm/node_modules/.bin/pnpm run format --cache --cache-location node_modules/.cache/.prettiercache exited (1)
format
Process completed with exit code 1.
lint
@cooper/web#lint: command (/home/runner/work/cooper/cooper/apps/web) /home/runner/setup-pnpm/node_modules/.bin/pnpm run lint --cache --cache-location node_modules/.cache/.eslintcache exited (1)
lint: apps/web/src/app/_components/form/review-form.tsx#L279
Unnecessary conditional, value is always truthy
lint: apps/web/src/app/_components/form/review-form.tsx#L279
Prefer using an optional chain expression instead, as it's more concise and easier to read
lint: apps/web/src/app/_components/form/review-form.tsx#L293
Unnecessary conditional, expected left-hand side of `??` operator to be possibly null or undefined
lint: apps/web/src/app/_components/form/review-form.tsx#L293
Unnecessary optional chain on a non-nullish value
lint: apps/web/src/app/_components/form/review-form.tsx#L305
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator
lint
Process completed with exit code 1.