Run Formatters #97
ESLint Report Analysis
Found 231 ESLint errors and warnings, processing batch 4 of 5...
Annotations
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 6 in frontend/src/Components/farmer/shop_sidebar.jsx
github-actions / ESLint Report Analysis
frontend/src/Components/farmer/shop_sidebar.jsx#L6
[no-unused-vars] 'FaShoppingCart' 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 47 in frontend/src/Pages/Customer/DownloadReceipt.jsx
github-actions / ESLint Report Analysis
frontend/src/Pages/Customer/DownloadReceipt.jsx#L47
[react/prop-types] 'order.shippingAddress' is missing in props validation
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 12 in frontend/src/Components/farmer/shop_sidebar.jsx
github-actions / ESLint Report Analysis
frontend/src/Components/farmer/shop_sidebar.jsx#L12
[no-unused-vars] 'FaDollarSign' is defined but never used.
Check failure on line 15 in frontend/src/App.jsx
github-actions / ESLint Report Analysis
frontend/src/App.jsx#L15
[no-unused-vars] 'Farmer_sidebar' is defined but never used.
Check failure on line 47 in frontend/src/Pages/Customer/DownloadReceipt.jsx
github-actions / ESLint Report Analysis
frontend/src/Pages/Customer/DownloadReceipt.jsx#L47
[react/prop-types] 'order.shippingAddress.phone' is missing in props validation
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 warning on line 5 in frontend/src/Context/AuthContext.jsx
github-actions / ESLint Report Analysis
frontend/src/Context/AuthContext.jsx#L5
[react-refresh/only-export-components] Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components.
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 51 in frontend/src/Pages/Customer/DownloadReceipt.jsx
github-actions / ESLint Report Analysis
frontend/src/Pages/Customer/DownloadReceipt.jsx#L51
[react/prop-types] 'order._id' is missing in props validation
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 failure on line 18 in frontend/src/Context/AuthContext.jsx
github-actions / ESLint Report Analysis
frontend/src/Context/AuthContext.jsx#L18
[react/prop-types] 'children' 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 182 in frontend/src/Pages/Shop/ProductPage.jsx
github-actions / ESLint Report Analysis
frontend/src/Pages/Shop/ProductPage.jsx#L182
[react/no-unknown-property] Unknown property 'class' found, use 'className' instead
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 51 in frontend/src/Pages/Customer/DownloadReceipt.jsx
github-actions / ESLint Report Analysis
frontend/src/Pages/Customer/DownloadReceipt.jsx#L51
[react/prop-types] 'order._id.slice' is missing in props validation
Check warning on line 7 in frontend/src/Hooks/Delivery/Dlauth.jsx
github-actions / ESLint Report Analysis
frontend/src/Hooks/Delivery/Dlauth.jsx#L7
[react-refresh/only-export-components] Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components.
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/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 187 in frontend/src/Pages/Shop/ProductPage.jsx
github-actions / ESLint Report Analysis
frontend/src/Pages/Shop/ProductPage.jsx#L187
[react/no-unknown-property] Unknown property 'class' found, use 'className' instead
Check failure on line 52 in frontend/src/Pages/Customer/DownloadReceipt.jsx
github-actions / ESLint Report Analysis
frontend/src/Pages/Customer/DownloadReceipt.jsx#L52
[react/prop-types] 'order.createdAt' is missing in props validation
Check failure on line 12 in frontend/src/Hooks/Delivery/Dlauth.jsx
github-actions / ESLint Report Analysis
frontend/src/Hooks/Delivery/Dlauth.jsx#L12
[react/prop-types] 'children' is missing in props validation
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.