Skip to content

🎨 Update Finance Pages (#116) (#117) #13

🎨 Update Finance Pages (#116) (#117)

🎨 Update Finance Pages (#116) (#117) #13

GitHub Actions / ESLint Report Analysis Started 2024-10-14 07:17:02 ago

ESLint Report Analysis

Found 231 ESLint errors and warnings, processing batch 2 of 5...

Annotations

Check failure on line 75 in frontend/src/Pages/Customer/DownloadReceipt.jsx

See this annotation in the file changed.

@github-actions 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 5 in frontend/src/Pages/delivery/driver/ViewDeliveries.jsx

See this annotation in the file changed.

@github-actions 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 1 in frontend/src/Components/Address.jsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

frontend/src/Components/Address.jsx#L1

[no-unused-vars] 'React' is defined but never used.

Check failure on line 207 in frontend/src/Pages/Shop/ProductPage.jsx

See this annotation in the file changed.

@github-actions 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/Pages/Customer/MembershipUpgrade.jsx

See this annotation in the file changed.

@github-actions 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 1 in frontend/src/Pages/delivery/driver/ViewDelivery.jsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

frontend/src/Pages/delivery/driver/ViewDelivery.jsx#L1

[no-unused-vars] 'React' is defined but never used.

Check warning on line 28 in frontend/src/Components/Address.jsx

See this annotation in the file changed.

@github-actions 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 207 in frontend/src/Pages/Shop/ProductPage.jsx

See this annotation in the file changed.

@github-actions 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/Pages/Customer/OrderStatus.jsx

See this annotation in the file changed.

@github-actions 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/incomepage.jsx

See this annotation in the file changed.

@github-actions 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 9 in frontend/src/Components/delivery/DeliverySidebar.jsx

See this annotation in the file changed.

@github-actions 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/Components/Admin/AsideBar.jsx

See this annotation in the file changed.

@github-actions 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 3 in frontend/src/Pages/Customer/OrderStatus.jsx

See this annotation in the file changed.

@github-actions 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 209 in frontend/src/Pages/Shop/ProductPage.jsx

See this annotation in the file changed.

@github-actions 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 10 in frontend/src/Pages/delivery/driver/incomepage.jsx

See this annotation in the file changed.

@github-actions 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 14 in frontend/src/Components/delivery/DeliverySidebar.jsx

See this annotation in the file changed.

@github-actions 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 3 in frontend/src/Components/Admin/AstaffPrivateRoute.jsx

See this annotation in the file changed.

@github-actions 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/PaymentComplete.jsx

See this annotation in the file changed.

@github-actions 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 1 in frontend/src/Pages/Shop/ShopList.jsx

See this annotation in the file changed.

@github-actions 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 11 in frontend/src/Pages/delivery/driver/incomepage.jsx

See this annotation in the file changed.

@github-actions 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 51 in frontend/src/Components/delivery/DeliverySidebar.jsx

See this annotation in the file changed.

@github-actions 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/Components/Admin/DailyOrdersChart.jsx

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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 12 in frontend/src/Pages/delivery/driver/incomepage.jsx

See this annotation in the file changed.

@github-actions 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 37 in frontend/src/Pages/Shop/ShopList.jsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

frontend/src/Pages/Shop/ShopList.jsx#L37

[no-unused-vars] 'config' is assigned a value but never used.