Skip to content

chat nav

chat nav #53

Triggered via pull request September 14, 2024 19:50
@Samyak-SHSamyak-SH
opened #76
main
Status Success
Total duration 29s
Artifacts

lint.yaml

on: pull_request
Lint Client Code
20s
Lint Client Code
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 7 warnings
Lint Client Code: client/src/components/Buyer/Contract/GenerateContract.jsx#L19
'validationErrors' is assigned a value but never used
Lint Client Code: client/src/components/Farmer/FDashboard.jsx#L10
'data' is missing in props validation
Lint Client Code: client/src/components/Farmer/FDashboard.jsx#L10
'showSecondaryBox' is missing in props validation
Lint Client Code: client/src/components/Farmer/FDashboard.jsx#L14
'data.profile' is missing in props validation
Lint Client Code: client/src/components/Farmer/FDashboard.jsx#L14
'data.profile.displayName' is missing in props validation
Lint Client Code: client/src/components/Farmer/FDashboard.jsx#L14
'data.profile' is missing in props validation
Lint Client Code: client/src/components/Farmer/FDashboard.jsx#L14
'data.profile.lname' is missing in props validation
Lint Client Code: client/src/components/Farmer/FDashboard.jsx#L15
'data.displayName' is missing in props validation
Lint Client Code: client/src/components/Farmer/FDashboard.jsx#L16
'data.profile' is missing in props validation
Lint Client Code: client/src/components/Farmer/FDashboard.jsx#L16
'data.profile.phone' is missing in props validation
Lint Client Code
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint Client Code: client/src/components/LandingPage/LandingPage.jsx#L48
React Hook useEffect has a missing dependency: 'nextSlide'. Either include it or remove the dependency array
Lint Client Code: client/src/components/Negotiate/Chat.jsx#L68
React Hook useEffect has a missing dependency: 'userType'. Either include it or remove the dependency array
Lint Client Code: client/src/components/Negotiate/Chat.jsx#L106
React Hook useEffect has a missing dependency: 'lang'. Either include it or remove the dependency array
Lint Client Code: client/src/components/Negotiate/Chat.jsx#L116
React Hook useEffect has missing dependencies: 'prevRoomID' and 'socket'. Either include them or remove the dependency array
Lint Client Code: client/src/components/Negotiate/old.jsx#L38
React Hook useEffect has missing dependencies: 'SERVER_PORT', 'currentUser.uid', and 'userType'. Either include them or remove the dependency array
Lint Client Code: client/src/components/context/auth_context.jsx#L7
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components