Skip to content

frontend and backend of farmersellpage #32

frontend and backend of farmersellpage

frontend and backend of farmersellpage #32

Triggered via pull request September 4, 2024 16:05
Status Success
Total duration 28s
Artifacts

lint.yaml

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

Annotations

10 errors and 3 warnings
Lint Client Code: client/src/components/Buyer/Contract/ContractStatus.jsx#L1
'contract' is missing in props validation
Lint Client Code: client/src/components/Buyer/Contract/ContractStatus.jsx#L1
'key' is defined but never used
Lint Client Code: client/src/components/Buyer/Contract/ContractStatus.jsx#L1
'key' is missing in props validation
Lint Client Code: client/src/components/Buyer/Contract/ContractStatus.jsx#L5
'contract.date' is missing in props validation
Lint Client Code: client/src/components/Buyer/Contract/ContractStatus.jsx#L6
'contract.total' is missing in props validation
Lint Client Code: client/src/components/Buyer/Contract/ContractStatus.jsx#L7
'contract.status' is missing in props validation
Lint Client Code: client/src/components/Buyer/Navi.jsx#L1
'React' is defined but never used
Lint Client Code: client/src/components/Buyer/Signup.jsx#L3
'Navigate' is defined but never used
Lint Client Code: client/src/components/Buyer/Signup.jsx#L24
'e' is defined but never used
Lint Client Code: client/src/components/Farmer/FDashboard.jsx#L79
'showSecondaryBox' 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/Negotiate/Chat.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/AuthContext.jsx#L7
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components