Run Formatters #11
ESLint Report Analysis
Found 231 ESLint errors and warnings, processing batch 1 of 5...
Annotations
Check failure on line 75 in frontend/src/Pages/Customer/DownloadReceipt.jsx
github-actions / ESLint Report Analysis
frontend/src/Pages/Customer/DownloadReceipt.jsx#L75
[react/prop-types] 'order.totalPrice.toFixed' is missing in props validation
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 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 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 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 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 5 in frontend/src/Pages/delivery/driver/ViewDeliveries.jsx
github-actions / ESLint Report Analysis
frontend/src/Pages/delivery/driver/ViewDeliveries.jsx#L5
[no-unused-vars] 'Swal' 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/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 1 in frontend/src/Pages/delivery/driver/ViewDelivery.jsx
github-actions / ESLint Report Analysis
frontend/src/Pages/delivery/driver/ViewDelivery.jsx#L1
[no-unused-vars] 'React' is defined but never used.
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 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 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 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 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 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 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/Components/farmer/Farmer_sidebar.jsx
github-actions / ESLint Report Analysis
frontend/src/Components/farmer/Farmer_sidebar.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 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 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 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 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/admnlogins.jsx
github-actions / ESLint Report Analysis
frontend/src/Components/Admin/admnlogins.jsx#L1
[no-unused-vars] 'React' is defined but never used.
Check failure on line 37 in frontend/src/Pages/Shop/ShopList.jsx
github-actions / ESLint Report Analysis
frontend/src/Pages/Shop/ShopList.jsx#L37
[no-unused-vars] 'config' is assigned a value but never used.