Skip to content

378/cleaner signup flow #115

378/cleaner signup flow

378/cleaner signup flow #115

Triggered via pull request March 24, 2024 23:09
Status Success
Total duration 1m 5s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 warnings
linting
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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#L155
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/Login.tsx#L14
React Hook useEffect has a missing dependency: 'modalContext'. 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