Frontend form error handling #181
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.
|