Skip to content

Fix linting errors

Fix linting errors #6

Triggered via push October 29, 2023 13:51
Status Failure
Total duration 42s
Artifacts

ci.yml

on: push
Lint, Check Types
33s
Lint, Check Types
Fit to window
Zoom out
Zoom in

Annotations

1 error and 6 warnings
Lint, Check Types
Process completed with exit code 1.
Lint, Check Types: guest-list-mobile/app/index.tsx#L55
'firstName' is already declared in the upper scope on line 40 column 11
Lint, Check Types: guest-list-mobile/app/index.tsx#L55
'lastName' is already declared in the upper scope on line 40 column 22
Lint, Check Types: guest-list-mobile/app/index.tsx#L69
Promises must be awaited, end with a call to .catch, or end with a call to .then with a rejection handler
Lint, Check Types: guest-list-mobile/app/index.tsx#L71
Promises must be awaited, end with a call to .catch, or end with a call to .then with a rejection handler
Lint, Check Types: guest-list-mobile/app/index.tsx#L72
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
Lint, Check Types: guest-list-mobile/app/index.tsx#L75
Empty components are self-closing