Skip to content

Run Formatters

Run Formatters #119

GitHub Actions / ESLint Report Analysis Started 2024-10-12 18:17:02 ago

ESLint Report Analysis

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

Annotations

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 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.

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

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

frontend/src/Pages/Shop/ShopPage.jsx#L1

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

Check failure on line 75 in frontend/src/Pages/farmer/Myshops.jsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

frontend/src/Pages/farmer/Myshops.jsx#L75

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

Check failure on line 2 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#L2

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

Check failure on line 1 in frontend/src/Components/farmer/Farmer_sidebar.jsx

See this annotation in the file changed.

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

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

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

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

Check failure on line 18 in frontend/src/Pages/farmer/UpdateProduct.jsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

frontend/src/Pages/farmer/UpdateProduct.jsx#L18

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

Check failure on line 8 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#L8

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

Check failure on line 1 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#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 1 in frontend/src/Pages/delivery/DLApproveDriver.jsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

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

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

Check failure on line 23 in frontend/src/Pages/farmer/UpdateProduct.jsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

frontend/src/Pages/farmer/UpdateProduct.jsx#L23

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

Check failure on line 8 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#L8

[no-unused-vars] 'setPaymentSuccess' 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 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 1 in frontend/src/Pages/delivery/DLDriverAccept.jsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

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

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

Check failure on line 17 in frontend/src/Pages/farmer/addProduct.jsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

frontend/src/Pages/farmer/addProduct.jsx#L17

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

Check failure on line 8 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#L8

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

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/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/Pages/delivery/DLDriverDashboard.jsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

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

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