Skip to content
GitHub Actions / ESLint Report Analysis Started 2024-10-14 13:50:53 ago

ESLint Report Analysis

Found 240 ESLint errors and warnings, processing batch 4 of 5...

Annotations

Check failure on line 1 in frontend/src/Pages/delivery/DLoooo.jsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

frontend/src/Pages/delivery/DLoooo.jsx#L1

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

Check failure on line 1 in frontend/src/Pages/delivery/DLviewDeliveries.jsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

frontend/src/Pages/delivery/DLviewDeliveries.jsx#L1

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

Check failure on line 193 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#L193

[react/no-unknown-property] Unknown property 'class' found, use 'className' instead

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 47 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#L47

[react/prop-types] 'order.shippingAddress' is missing in props validation

Check failure on line 1 in frontend/src/Pages/delivery/DLviewDelivery.jsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

frontend/src/Pages/delivery/DLviewDelivery.jsx#L1

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

Check failure on line 196 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#L196

[react/no-unknown-property] Unknown property 'class' found, use 'className' instead

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 16 in frontend/src/Pages/delivery/DLviewDelivery.jsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

frontend/src/Pages/delivery/DLviewDelivery.jsx#L16

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

Check failure on line 47 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#L47

[react/prop-types] 'order.shippingAddress.phone' is missing in props validation

Check failure on line 14 in frontend/src/Components/UserOrderTable.jsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

frontend/src/Components/UserOrderTable.jsx#L14

[react/prop-types] 'page' is missing in props validation

Check failure on line 197 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#L197

[react/no-unescaped-entities] `"` can be escaped with `"`, `“`, `"`, `”`.

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 1 in frontend/src/Pages/delivery/Dleditprofile.jsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

frontend/src/Pages/delivery/Dleditprofile.jsx#L1

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

Check failure on line 51 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#L51

[react/prop-types] 'order._id' is missing in props validation

Check failure on line 14 in frontend/src/Components/UserOrderTable.jsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

frontend/src/Components/UserOrderTable.jsx#L14

[react/prop-types] 'pages' is missing in props validation

Check failure on line 197 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#L197

[react/no-unescaped-entities] `"` can be escaped with `"`, `“`, `"`, `”`.

Check failure on line 1 in frontend/src/Pages/delivery/driver/OngoingDelivery.jsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

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

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

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 51 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#L51

[react/prop-types] 'order._id.slice' is missing in props validation

Check failure on line 14 in frontend/src/Components/UserOrderTable.jsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

frontend/src/Components/UserOrderTable.jsx#L14

[react/prop-types] 'setPage' is missing in props validation

Check failure on line 1 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#L1

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

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 199 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#L199

[react/no-unknown-property] Unknown property 'class' found, use 'className' instead

Check failure on line 52 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#L52

[react/prop-types] 'order.createdAt' is missing in props validation