Add linting, fix errors #5
Annotations
1 error and 6 warnings
Run pnpm eslint . --max-warnings 0
Process completed with exit code 1.
|
Run pnpm eslint . --max-warnings 0:
guest-list-mobile/app/_layout.tsx#L49
Style prop value must be an object
|
Run pnpm eslint . --max-warnings 0:
guest-list-mobile/app/index.tsx#L54
'guest' is defined but never used
|
Run pnpm eslint . --max-warnings 0:
guest-list-mobile/app/index.tsx#L66
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#L68
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#L69
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/index.tsx#L72
Empty components are self-closing
|
The logs for this run have expired and are no longer available.
Loading