Fix linting error #19
Annotations
1 error and 10 warnings
Run pnpm eslint . --max-warnings 0
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run pnpm eslint . --max-warnings 0:
guest-list-mobile/app/guests/[id].tsx#L45
Promises must be awaited, end with a call to .catch, or end with a call to .then with a rejection handler
|
Run pnpm eslint . --max-warnings 0:
guest-list-mobile/app/hello+api.ts#L3
'request' is defined but never used
|
Run pnpm eslint . --max-warnings 0:
guest-list-mobile/app/index.tsx#L65
'guest' is defined but never used
|
Run pnpm eslint . --max-warnings 0:
guest-list-mobile/app/index.tsx#L76
Promises must be awaited, end with a call to .catch, or end with a call to .then with a rejection handler
|
Run pnpm eslint . --max-warnings 0:
guest-list-mobile/app/index.tsx#L77
Promises must be awaited, end with a call to .catch, or end with a call to .then with a rejection handler
|
Run pnpm eslint . --max-warnings 0:
guest-list-mobile/app/index.tsx#L80
Promises must be awaited, end with a call to .catch, or end with a call to .then with a rejection handler
|
Run pnpm eslint . --max-warnings 0:
guest-list-mobile/app/index.tsx#L82
React Hook useEffect has a missing dependency: 'guests'. Either include it or remove the dependency array. You can also do a functional update 'setGuests(g => ...)' if you only need 'guests' in the 'setGuests' call
|
Run pnpm eslint . --max-warnings 0:
guest-list-mobile/app/new-guest.tsx#L33
useState call is not destructured into value + setter pair
|
Run pnpm eslint . --max-warnings 0:
guest-list-mobile/app/new-guest.tsx#L34
useState call is not destructured into value + setter pair
|
The logs for this run have expired and are no longer available.
Loading