Skip to content

....

.... #54

Triggered via pull request September 14, 2024 20:28
Status Success
Total duration 29s
Artifacts

lint.yaml

on: pull_request
Lint Client Code
21s
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#L11
'data' is missing in props validation
Lint Client Code: client/src/components/Farmer/FDashboard.jsx#L11
'showSecondaryBox' is missing in props validation
Lint Client Code: client/src/components/Farmer/FDashboard.jsx#L15
'data.profile' is missing in props validation
Lint Client Code: client/src/components/Farmer/FDashboard.jsx#L15
'data.profile.displayName' is missing in props validation
Lint Client Code: client/src/components/Farmer/FDashboard.jsx#L15
'data.profile' is missing in props validation
Lint Client Code: client/src/components/Farmer/FDashboard.jsx#L15
'data.profile.lname' 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: client/src/components/Farmer/FDashboard.jsx#L17
'data.profile' 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