Skip to content

Search issue 361

Search issue 361 #86

Triggered via pull request October 14, 2023 23:21
Status Success
Total duration 1m 18s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 warnings
linting: client/src/components/FAQs.tsx#L61
Redundant alt attribute. Screen-readers already announce `img` tags as an image. You don’t need to use the words `image`, `photo,` or `picture` (or any specified custom words) in the alt prop
linting: client/src/components/Users/Auth/SetNewPassword.tsx#L152
Redundant alt attribute. Screen-readers already announce `img` tags as an image. You don’t need to use the words `image`, `photo,` or `picture` (or any specified custom words) in the alt prop
linting: client/src/components/Users/Auth/SignUpCitizen/SignUpCitizen.tsx#L59
React Hook useEffect has missing dependencies: 'formData' and 'registerUserMutation'. Either include them or remove the dependency array
linting: client/src/components/Users/Auth/SignUpCitizen/SignUpCitizen.tsx#L66
React Hook useEffect has missing dependencies: 'image', 'updateProfileMutation', and 'user'. Either include them or remove the dependency array
linting: client/src/providers/UserProvider.tsx#L65
React Hook React.useEffect has a missing dependency: 'setUserTimeout'. Either include it or remove the dependency array
linting: client/src/views/EmailVerification.tsx#L33
React Hook React.useEffect has a missing dependency: 'history'. Either include it or remove the dependency array
linting: client/src/views/SearchResults.tsx#L88
The 'fetchSearchData' function makes the dependencies of useEffect Hook (at line 131) change on every render. Move it inside the useEffect callback. Alternatively, wrap the definition of 'fetchSearchData' in its own useCallback() Hook