Run Formatters #14
ESLint Report Analysis
Found 229 ESLint errors and warnings, processing batch 2 of 5...
Annotations
Check failure on line 1 in frontend/src/Pages/delivery/driver/incomepage.jsx
github-actions / ESLint Report Analysis
frontend/src/Pages/delivery/driver/incomepage.jsx#L1
[no-unused-vars] 'React' is defined but never used.
Check failure on line 1 in frontend/src/Pages/Customer/MembershipUpgrade.jsx
github-actions / ESLint Report Analysis
frontend/src/Pages/Customer/MembershipUpgrade.jsx#L1
[no-unused-vars] 'React' is defined but never used.
Check failure on line 10 in frontend/src/Pages/delivery/driver/incomepage.jsx
github-actions / ESLint Report Analysis
frontend/src/Pages/delivery/driver/incomepage.jsx#L10
[no-unused-vars] 'setTotalIncome' is assigned a value but never used.
Check failure on line 1 in frontend/src/Components/Address.jsx
github-actions / ESLint Report Analysis
frontend/src/Components/Address.jsx#L1
[no-unused-vars] 'React' is defined but never used.
Check failure on line 1 in frontend/src/Pages/Customer/OrderStatus.jsx
github-actions / ESLint Report Analysis
frontend/src/Pages/Customer/OrderStatus.jsx#L1
[no-unused-vars] 'React' is defined but never used.
Check failure on line 9 in frontend/src/Components/delivery/DeliverySidebar.jsx
github-actions / ESLint Report Analysis
frontend/src/Components/delivery/DeliverySidebar.jsx#L9
[no-unused-vars] 'FaCog' is defined but never used.
Check failure on line 11 in frontend/src/Pages/delivery/driver/incomepage.jsx
github-actions / ESLint Report Analysis
frontend/src/Pages/delivery/driver/incomepage.jsx#L11
[no-unused-vars] 'setDeliveryCount' is assigned a value but never used.
Check warning on line 28 in frontend/src/Components/Address.jsx
github-actions / ESLint Report Analysis
frontend/src/Components/Address.jsx#L28
[react-hooks/exhaustive-deps] React Hook useEffect has a missing dependency: 'user'. Either include it or remove the dependency array.
Check failure on line 3 in frontend/src/Pages/Customer/OrderStatus.jsx
github-actions / ESLint Report Analysis
frontend/src/Pages/Customer/OrderStatus.jsx#L3
[no-unused-vars] 'useLocation' is defined but never used.
Check failure on line 14 in frontend/src/Components/delivery/DeliverySidebar.jsx
github-actions / ESLint Report Analysis
frontend/src/Components/delivery/DeliverySidebar.jsx#L14
[react/prop-types] 'driver' is missing in props validation
Check failure on line 207 in frontend/src/Pages/Shop/ProductPage.jsx
github-actions / ESLint Report Analysis
frontend/src/Pages/Shop/ProductPage.jsx#L207
[react/no-unescaped-entities] `"` can be escaped with `"`, `“`, `"`, `”`.
Check failure on line 12 in frontend/src/Pages/delivery/driver/incomepage.jsx
github-actions / ESLint Report Analysis
frontend/src/Pages/delivery/driver/incomepage.jsx#L12
[no-unused-vars] 'setDeliveryProfits' is assigned a value but never used.
Check failure on line 1 in frontend/src/Components/Admin/AsideBar.jsx
github-actions / ESLint Report Analysis
frontend/src/Components/Admin/AsideBar.jsx#L1
[no-unused-vars] 'React' is defined but never used.
Check failure on line 1 in frontend/src/Pages/Customer/PaymentComplete.jsx
github-actions / ESLint Report Analysis
frontend/src/Pages/Customer/PaymentComplete.jsx#L1
[no-unused-vars] 'React' is defined but never used.
Check failure on line 51 in frontend/src/Components/delivery/DeliverySidebar.jsx
github-actions / ESLint Report Analysis
frontend/src/Components/delivery/DeliverySidebar.jsx#L51
[react/prop-types] 'driver.personalImageUrl' is missing in props validation
Check failure on line 1 in frontend/src/Pages/delivery/or/orderdelete.jsx
github-actions / ESLint Report Analysis
frontend/src/Pages/delivery/or/orderdelete.jsx#L1
[no-unused-vars] 'React' is defined but never used.
Check failure on line 209 in frontend/src/Pages/Shop/ProductPage.jsx
github-actions / ESLint Report Analysis
frontend/src/Pages/Shop/ProductPage.jsx#L209
[react/no-unknown-property] Unknown property 'class' found, use 'className' instead
Check failure on line 3 in frontend/src/Components/Admin/AstaffPrivateRoute.jsx
github-actions / ESLint Report Analysis
frontend/src/Components/Admin/AstaffPrivateRoute.jsx#L3
[react/prop-types] 'manager' is missing in props validation
Check failure on line 1 in frontend/src/Pages/Customer/PaymentConfirmation.jsx
github-actions / ESLint Report Analysis
frontend/src/Pages/Customer/PaymentConfirmation.jsx#L1
[no-unused-vars] 'React' is defined but never used.
Check warning on line 68 in frontend/src/Pages/farmer/FarmerDashboard.jsx
github-actions / ESLint Report Analysis
frontend/src/Pages/farmer/FarmerDashboard.jsx#L68
[react-hooks/exhaustive-deps] React Hook useEffect has missing dependencies: 'farmer._id' and 'navigate'. Either include them or remove the dependency array.
Check failure on line 1 in frontend/src/Pages/Shop/ShopList.jsx
github-actions / ESLint Report Analysis
frontend/src/Pages/Shop/ShopList.jsx#L1
[no-unused-vars] 'React' is defined but never used.
Check failure on line 1 in frontend/src/Components/Admin/DailyOrdersChart.jsx
github-actions / ESLint Report Analysis
frontend/src/Components/Admin/DailyOrdersChart.jsx#L1
[no-unused-vars] 'React' is defined but never used.
Check failure on line 62 in frontend/src/Components/delivery/DeliverySidebar.jsx
github-actions / ESLint Report Analysis
frontend/src/Components/delivery/DeliverySidebar.jsx#L62
[react/prop-types] 'driver.firstName' is missing in props validation
Check failure on line 2 in frontend/src/Pages/Customer/PaymentConfirmation.jsx
github-actions / ESLint Report Analysis
frontend/src/Pages/Customer/PaymentConfirmation.jsx#L2
[no-unused-vars] 'useNavigate' is defined but never used.
Check failure on line 6 in frontend/src/Pages/farmer/FarmerLogOut.jsx
github-actions / ESLint Report Analysis
frontend/src/Pages/farmer/FarmerLogOut.jsx#L6
[no-unused-vars] 'loading' is assigned a value but never used.