Skip to content

💚 Fix: fix error #29

💚 Fix: fix error

💚 Fix: fix error #29

GitHub Actions / ESLint Report Analysis Started 2024-10-11 11:57:40 ago

ESLint Report Analysis

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

Annotations

Check failure on line 182 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#L182

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

Check failure on line 187 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#L187

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

Check failure on line 6 in frontend/src/Components/farmer/shop_sidebar.jsx

See this annotation in the file changed.

@github-actions 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 15 in frontend/src/App.jsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

frontend/src/App.jsx#L15

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

Check failure on line 188 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#L188

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

Check failure on line 12 in frontend/src/Components/farmer/shop_sidebar.jsx

See this annotation in the file changed.

@github-actions 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 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 191 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#L191

[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 warning on line 5 in frontend/src/Context/AuthContext.jsx

See this annotation in the file changed.

@github-actions 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 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 192 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#L192

[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 18 in frontend/src/Context/AuthContext.jsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

frontend/src/Context/AuthContext.jsx#L18

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

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 failure on line 192 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#L192

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

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 warning on line 7 in frontend/src/Hooks/Delivery/Dlauth.jsx

See this annotation in the file changed.

@github-actions 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 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/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 194 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#L194

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

Check failure on line 1 in frontend/src/Components/Admin/admnlogins.jsx

See this annotation in the file changed.

@github-actions 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 12 in frontend/src/Hooks/Delivery/Dlauth.jsx

See this annotation in the file changed.

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