Skip to content

Run Formatters

Run Formatters #154

Triggered via push October 14, 2024 22:36
Status Success
Total duration 27s
Artifacts

Prettier.yml

on: push
Format Files
17s
Format Files
Fit to window
Zoom out
Zoom in

Annotations

246 errors and 12 warnings
backend/controllers/Admin/AcustomerController.js#L104
[no-unused-vars] 'error' is defined but never used.
backend/controllers/Admin/Afarmer.js#L2
[no-unused-vars] 'mongoose' is defined but never used.
backend/controllers/Admin/Afarmer.js#L7
[no-unused-vars] 'error' is defined but never used.
backend/controllers/Admin/AstaffController.js#L41
[no-unused-vars] 'error' is defined but never used.
backend/controllers/Admin/AstaffController.js#L125
[no-unused-vars] 'roleOptions' is assigned a value but never used.
backend/controllers/Admin/AstaffController.js#L130
[no-undef] 'emailOptions' is not defined.
backend/controllers/DLDriverController.js#L327
[no-unused-vars] 'error' is defined but never used.
backend/controllers/DLEmailController.js#L3
[no-unused-vars] 'log' is defined but never used.
backend/controllers/DLEmailController.js#L4
[no-unused-vars] 'createTransport' is defined but never used.
backend/controllers/DLEmailController.js#L86
[no-unused-vars] 'error' is defined but never used.
backend/controllers/DLOcontroller.js#L161
[no-unused-vars] 'name' is assigned a value but never used.
backend/controllers/DLOcontroller.js#L186
[no-undef] 'mongoose' is not defined.
backend/controllers/couponController.js#L97
[no-unused-vars] 'error' is defined but never used.
backend/controllers/farmerController.js#L174
[no-undef] 'bcrypt' is not defined.
backend/controllers/farmerController.js#L301
[no-unused-vars] 'error' is defined but never used.
backend/middlewares/DLMulter.js#L2
[no-unused-vars] 'path' is defined but never used.
backend/middlewares/DLauthMiddleware.js#L18
[no-unused-vars] 'error' is defined but never used.
backend/models/OrderModel.js#L2
[no-unused-vars] 'type' is defined but never used.
backend/utils/DLSendEmail.js#L22
[no-unused-vars] 'infor' is defined but never used.
frontend/src/Components/Address.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Pages/Shop/ProductPage.jsx#L193
[react/no-unknown-property] Unknown property 'class' found, use 'className' instead
frontend/src/Pages/Customer/DownloadReceipt.jsx#L47
[react/prop-types] 'order.shippingAddress' is missing in props validation
frontend/src/Components/UserOrderTable.jsx#L14
[react/prop-types] 'page' is missing in props validation
frontend/src/Pages/Shop/ProductPage.jsx#L196
[react/no-unknown-property] Unknown property 'class' found, use 'className' instead
frontend/src/Pages/Customer/DownloadReceipt.jsx#L47
[react/prop-types] 'order.shippingAddress.phone' is missing in props validation
frontend/src/Components/UserOrderTable.jsx#L14
[react/prop-types] 'pages' is missing in props validation
frontend/src/Components/Admin/AsideBar.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Pages/Shop/ProductPage.jsx#L197
[react/no-unescaped-entities] `"` can be escaped with `"`, `“`, `"`, `”`.
frontend/src/Components/UserOrderTable.jsx#L14
[react/prop-types] 'setPage' is missing in props validation
frontend/src/Pages/Customer/DownloadReceipt.jsx#L51
[react/prop-types] 'order._id' is missing in props validation
frontend/src/Components/Admin/AstaffPrivateRoute.jsx#L3
[react/prop-types] 'manager' is missing in props validation
frontend/src/Pages/Shop/ProductPage.jsx#L197
[react/no-unescaped-entities] `"` can be escaped with `"`, `“`, `"`, `”`.
frontend/src/Components/UserOrderTable.jsx#L22
[react/prop-types] 'items.filter' is missing in props validation
frontend/src/Pages/Customer/DownloadReceipt.jsx#L51
[react/prop-types] 'order._id.slice' is missing in props validation
frontend/src/Components/Admin/DailyOrdersChart.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Pages/Shop/ProductPage.jsx#L199
[react/no-unknown-property] Unknown property 'class' found, use 'className' instead
frontend/src/Components/delivery/DHeader.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Pages/Customer/DownloadReceipt.jsx#L52
[react/prop-types] 'order.createdAt' is missing in props validation
frontend/src/Components/Admin/admnlogins.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Pages/delivery/DLviewDeliveries.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Pages/Shop/ProductPage.jsx#L202
[react/no-unknown-property] Unknown property 'class' found, use 'className' instead
frontend/src/Components/delivery/DLmanageSidebar.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Pages/Customer/DownloadReceipt.jsx#L64
[react/prop-types] 'order.orderItems' is missing in props validation
frontend/src/Components/Admin/admnlogins.jsx#L7
[react/prop-types] 'manager' is missing in props validation
frontend/src/Pages/Shop/ProductPage.jsx#L203
[react/no-unknown-property] Unknown property 'class' found, use 'className' instead
frontend/src/Pages/delivery/DLviewDelivery.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Components/delivery/DLmanageSidebar.jsx#L2
[no-unused-vars] 'Link' is defined but never used.
frontend/src/Pages/Customer/DownloadReceipt.jsx#L64
[react/prop-types] 'order.orderItems.map' is missing in props validation
frontend/src/Components/Breadcrumbs.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Pages/Shop/ProductPage.jsx#L206
[react/no-unknown-property] Unknown property 'class' found, use 'className' instead
frontend/src/Pages/delivery/DLviewDelivery.jsx#L16
[no-unused-vars] 'navigate' is assigned a value but never used.
frontend/src/Components/delivery/DLmanageSidebar.jsx#L8
[no-unused-vars] 'FaBell' is defined but never used.
frontend/src/Pages/Customer/DownloadReceipt.jsx#L75
[react/prop-types] 'order.totalPrice' is missing in props validation
frontend/src/Components/ConfirmationModal.jsx#L3
[react/prop-types] 'isOpen' is missing in props validation
frontend/src/Pages/Shop/ProductPage.jsx#L207
[react/no-unescaped-entities] `"` can be escaped with `"`, `“`, `"`, `”`.
frontend/src/Pages/delivery/Dleditprofile.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Components/delivery/DeliverySidebar.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Pages/Customer/DownloadReceipt.jsx#L75
[react/prop-types] 'order.totalPrice.toFixed' is missing in props validation
frontend/src/Components/ConfirmationModal.jsx#L3
[react/prop-types] 'onClose' is missing in props validation
frontend/src/Pages/Shop/ProductPage.jsx#L207
[react/no-unescaped-entities] `"` can be escaped with `"`, `“`, `"`, `”`.
frontend/src/Pages/delivery/driver/OngoingDelivery.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Components/delivery/DeliverySidebar.jsx#L9
[no-unused-vars] 'FaCog' is defined but never used.
frontend/src/Pages/Customer/MembershipUpgrade.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Components/ConfirmationModal.jsx#L3
[react/prop-types] 'onConfirm' is missing in props validation
frontend/src/Pages/Shop/ProductPage.jsx#L209
[react/no-unknown-property] Unknown property 'class' found, use 'className' instead
frontend/src/Pages/delivery/driver/ViewDeliveries.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Components/delivery/DeliverySidebar.jsx#L14
[react/prop-types] 'driver' is missing in props validation
frontend/src/Pages/Customer/OrderStatus.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Pages/Shop/ShopList.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Components/ConfirmationModal.jsx#L48
[react/no-unescaped-entities] `'` can be escaped with `'`, `‘`, `'`, `’`.
frontend/src/Pages/delivery/driver/ViewDeliveries.jsx#L5
[no-unused-vars] 'Swal' is defined but never used.
frontend/src/Pages/Customer/OrderStatus.jsx#L3
[no-unused-vars] 'useLocation' is defined but never used.
frontend/src/Components/delivery/DeliverySidebar.jsx#L51
[react/prop-types] 'driver.personalImageUrl' is missing in props validation
frontend/src/Pages/Shop/ShopList.jsx#L37
[no-unused-vars] 'config' is assigned a value but never used.
frontend/src/Components/ConfirmationModalDelete.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Pages/delivery/driver/ViewDelivery.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Pages/Shop/ShopPage.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Pages/Customer/PaymentComplete.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Components/delivery/DeliverySidebar.jsx#L62
[react/prop-types] 'driver.firstName' is missing in props validation
frontend/src/Components/ConfirmationModalDelete.jsx#L3
[react/prop-types] 'isOpen' is missing in props validation
frontend/src/Pages/blog manage/AddBlog.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Pages/delivery/driver/ViewDelivery.jsx#L14
[no-unused-vars] 'customer' is assigned a value but never used.
frontend/src/Pages/Customer/PaymentConfirmation.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Components/farmer/Farmer_sidebar.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Components/ConfirmationModalDelete.jsx#L3
[react/prop-types] 'onClose' is missing in props validation
frontend/src/Pages/blog manage/BlogList.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Pages/delivery/driver/ViewDelivery.jsx#L14
[no-unused-vars] 'setCustomer' is assigned a value but never used.
frontend/src/Pages/Customer/PaymentConfirmation.jsx#L2
[no-unused-vars] 'useNavigate' is defined but never used.
frontend/src/Components/farmer/shop_sidebar.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Components/ConfirmationModalDelete.jsx#L3
[react/prop-types] 'onConfirm' is missing in props validation
frontend/src/Pages/blog manage/CommentList.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Pages/delivery/driver/incomepage.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Components/farmer/shop_sidebar.jsx#L6
[no-unused-vars] 'FaShoppingCart' is defined but never used.
frontend/src/Pages/Customer/PaymentConfirmation.jsx#L8
[react/prop-types] 'setPaymentSuccess' is missing in props validation
frontend/src/Components/ConfirmationModalDelete.jsx#L3
[react/prop-types] 'confirmationText' is missing in props validation
frontend/src/Pages/blog manage/UpdateBlog.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Pages/delivery/driver/incomepage.jsx#L10
[no-unused-vars] 'setTotalIncome' is assigned a value but never used.
frontend/src/Pages/Customer/PaymentConfirmation.jsx#L8
[no-unused-vars] 'setPaymentSuccess' is defined but never used.
frontend/src/Components/farmer/shop_sidebar.jsx#L12
[no-unused-vars] 'FaDollarSign' is defined but never used.
frontend/src/Components/ConfirmationModalDelete.jsx#L3
[react/prop-types] 'setConfirmationText' is missing in props validation
frontend/src/Pages/blog manage/UpdateBlog.jsx#L16
[no-unused-vars] 'uploadMessage' is assigned a value but never used.
frontend/src/Pages/Customer/PaymentConfirmation.jsx#L8
[react/prop-types] 'setOrderID' is missing in props validation
frontend/src/Pages/delivery/driver/incomepage.jsx#L11
[no-unused-vars] 'setDeliveryCount' is assigned a value but never used.
frontend/src/Components/ConfirmationModalDelete.jsx#L10
[react/no-unescaped-entities] `"` can be escaped with `"`, `“`, `"`, `”`.
frontend/src/Pages/blog manage/UserBlog.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Context/AuthContext.jsx#L18
[react/prop-types] 'children' is missing in props validation
frontend/src/Pages/delivery/driver/incomepage.jsx#L12
[no-unused-vars] 'setDeliveryProfits' is assigned a value but never used.
frontend/src/Components/ConfirmationModalDelete.jsx#L10
[react/no-unescaped-entities] `"` can be escaped with `"`, `“`, `"`, `”`.
frontend/src/Pages/blog manage/UserBlog.jsx#L72
[react/no-unescaped-entities] `'` can be escaped with `'`, `‘`, `'`, `’`.
frontend/src/Pages/delivery/or/orderdelete.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Components/DeleteAccountButton.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Pages/common/speech/SpeechGenerator.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Hooks/Delivery/Dlauth.jsx#L12
[react/prop-types] 'children' is missing in props validation
frontend/src/Components/Home/BlogHeader.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Pages/Customer/PaymentConfirmation.jsx#L8
[no-unused-vars] 'setOrderID' is defined but never used.
frontend/src/Pages/dashboard/Admin.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Hooks/Farmer/district_City.jsx#L226
[no-unused-vars] 'selectedDistrict' is assigned a value but never used.
frontend/src/Components/Home/BlogHeader.jsx#L6
[react/prop-types] 'loading' is missing in props validation
frontend/src/Pages/Customer/PaymentConfirmation.jsx#L11
[no-unused-vars] 'user' is assigned a value but never used.
frontend/src/Pages/dashboard/Admin.jsx#L2
[no-unused-vars] 'axios' is defined but never used.
frontend/src/Pages/farmer/FarmerLogOut.jsx#L6
[no-unused-vars] 'loading' is assigned a value but never used.
frontend/src/Components/Home/CartButton.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Pages/delivery/DLALLdrivers.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Pages/farmer/FarmerLogOut.jsx#L7
[no-unused-vars] 'error' is assigned a value but never used.
frontend/src/Pages/delivery/DLApproveDriver.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Components/Home/CartButton.jsx#L5
[react/prop-types] 'cartItemCount' is missing in props validation
frontend/src/Pages/farmer/FarmerLogOut.jsx#L14
[no-unused-vars] 'out' is assigned a value but never used.
frontend/src/Pages/delivery/DLDriverAccept.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Components/Home/Footer.jsx#L1
[no-unused-vars] 'FaFacebookSquare' is defined but never used.
frontend/src/Pages/Customer/StripePayment.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Hooks/Farmer/district_City.jsx#L228
[no-unused-vars] 'selectedCity' is assigned a value but never used.
frontend/src/Pages/farmer/FarmerProfile.jsx#L30
[no-unused-vars] 'uploadMessage' is assigned a value but never used.
frontend/src/Pages/delivery/DLDriverDashboard.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Components/Home/Footer.jsx#L2
[no-unused-vars] 'FaTiktok' is defined but never used.
frontend/src/Pages/Customer/StripePayment.jsx#L27
[react/prop-types] 'amount' is missing in props validation
frontend/src/Hooks/district_City.jsx#L262
[no-unused-vars] 'selectedDistrict' is assigned a value but never used.
frontend/src/Pages/farmer/FarmerProfile.jsx#L32
[no-unused-vars] 'loading' is assigned a value but never used.
frontend/src/Components/Home/Footer.jsx#L3
[no-unused-vars] 'FaMedium' is defined but never used.
frontend/src/Pages/delivery/DLDriverDashboard.jsx#L141
[no-unused-vars] 'renderDeliveryStatus' is assigned a value but never used.
frontend/src/Pages/Customer/StripePayment.jsx#L27
[react/prop-types] 'billingCycle' is missing in props validation
frontend/src/Hooks/district_City.jsx#L264
[no-unused-vars] 'selectedCity' is assigned a value but never used.
frontend/src/Pages/farmer/Myshops.jsx#L74
[react/no-unescaped-entities] `"` can be escaped with `"`, `“`, `"`, `”`.
frontend/src/Components/Home/FooterDashboard.jsx#L3
[no-unused-vars] 'FaX' is defined but never used.
frontend/src/Pages/delivery/DLDriverDashboard.jsx#L154
[no-unused-vars] 'renderProgressBar' is assigned a value but never used.
frontend/src/Pages/Customer/StripePayment.jsx#L27
[react/prop-types] 'membershipType' is missing in props validation
frontend/src/Pages/Admin/Acoupons.jsx#L5
[no-unused-vars] 'useDisclosure' is defined but never used.
frontend/src/Pages/farmer/Myshops.jsx#L75
[react/no-unescaped-entities] `"` can be escaped with `"`, `“`, `"`, `”`.
frontend/src/Pages/delivery/DLDriverProfile.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Components/Home/Header.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Pages/Customer/UserAllOrders.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Pages/Admin/Acoupons.jsx#L17
[no-unused-vars] 'Modal' is defined but never used.
frontend/src/Pages/delivery/DLDriverProfile.jsx#L5
[no-unused-vars] 'Swal' is defined but never used.
frontend/src/Pages/farmer/UpdateProduct.jsx#L18
[no-unused-vars] 'uploadMessage' is assigned a value but never used.
frontend/src/Pages/Admin/Acoupons.jsx#L33
[no-unused-vars] 'clickCoupon' is assigned a value but never used.
frontend/src/Pages/delivery/DLDriverRegistrationForm.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Components/Home/NewsBar.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Pages/farmer/UpdateProduct.jsx#L23
[no-unused-vars] 'loading' is assigned a value but never used.
frontend/src/Pages/Admin/Acoupons.jsx#L33
[no-unused-vars] 'setClickCoupon' is assigned a value but never used.
frontend/src/Pages/delivery/DLDriverRegistrationForm.jsx#L39
[no-unused-vars] 'setSuccessMessage' is assigned a value but never used.
frontend/src/Components/Loading.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Pages/farmer/addProduct.jsx#L17
[no-unused-vars] 'uploadMessage' is assigned a value but never used.
frontend/src/Pages/Customer/UserProfile.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Pages/Admin/Acoupons.jsx#L35
[no-unused-vars] 'isOpenEdit' is assigned a value but never used.
frontend/src/Pages/delivery/DLImageUpload.jsx#L2
[no-unused-vars] 'React' is defined but never used.
frontend/src/Components/Navbar/Navbar.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Pages/farmer/addProduct.jsx#L22
[no-unused-vars] 'loading' is assigned a value but never used.
frontend/src/Pages/Customer/UserProfile.jsx#L5
[no-unused-vars] 'user' is assigned a value but never used.
frontend/src/Pages/delivery/DLImageUpload.jsx#L2
[no-unused-vars] 'useState' is defined but never used.
frontend/src/Pages/Admin/Acoupons.jsx#L35
[no-unused-vars] 'setIsOpenEdit' is assigned a value but never used.
frontend/src/Components/Navbar/Navbar.jsx#L11
[no-unused-vars] 'useNavigate' is defined but never used.
frontend/src/Pages/farmer/shopProfile.jsx#L38
[no-unused-vars] 'uploadMessage' is assigned a value but never used.
frontend/src/Pages/NotFound.jsx#L24
[react/no-unescaped-entities] `'` can be escaped with `'`, `‘`, `'`, `’`.
frontend/src/Pages/delivery/DLImageUpload.jsx#L3
[no-unused-vars] 'axios' is defined but never used.
frontend/src/Pages/Admin/Acoupons.jsx#L36
[no-unused-vars] 'updatedCoupon' is assigned a value but never used.
frontend/src/Components/Navbar/Navbar.jsx#L58
[no-dupe-keys] Duplicate key 'backgroundColor'.
frontend/src/Pages/Shop/ProductPage.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Pages/farmer/shopProfile.jsx#L40
[no-unused-vars] 'loading' is assigned a value but never used.
frontend/src/Pages/delivery/DLLogin.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Pages/Admin/Acoupons.jsx#L36
[no-unused-vars] 'setUpdatedCoupon' is assigned a value but never used.
frontend/src/Components/Order/ProgressBar.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Pages/Shop/ProductPage.jsx#L4
[no-unused-vars] 'Toaster' is defined but never used.
frontend/src/Pages/Admin/Adashboard.jsx#L183
[react/prop-types] 'title' is missing in props validation
frontend/src/Pages/delivery/DLLogin.jsx#L90
[react/no-unescaped-entities] `'` can be escaped with `'`, `‘`, `'`, `’`.
frontend/src/Components/Order/ProgressBar.jsx#L4
[react/prop-types] 'currentStep' is missing in props validation
frontend/src/Pages/farmer/shopcreate.jsx#L4
[no-unused-vars] 'shop' is defined but never used.
frontend/src/Pages/Admin/Adashboard.jsx#L183
[react/prop-types] 'count' is missing in props validation
frontend/src/Pages/delivery/DLMap.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Components/PasswordUpdate.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Pages/farmer/shopcreate.jsx#L33
[no-unused-vars] 'uploadMessage' is assigned a value but never used.
frontend/src/Pages/Shop/ProductPage.jsx#L6
[react/prop-types] 'onAddToCart' is missing in props validation
frontend/src/Pages/delivery/DLOtable.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Pages/Admin/Adashboard.jsx#L183
[react/prop-types] 'subtitle' is missing in props validation
frontend/src/Pages/farmer/shopcreate.jsx#L39
[no-unused-vars] 'loading' is assigned a value but never used.
frontend/src/Pages/Shop/ProductPage.jsx#L6
[no-unused-vars] 'onAddToCart' is defined but never used.
frontend/src/Pages/delivery/DLViewDriver.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Pages/Admin/Afinance.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Components/ProductCarosul.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Pages/Shop/ProductPage.jsx#L10
[no-unused-vars] 'navigate' is assigned a value but never used.
frontend/src/Pages/order/Cart.jsx#L1
[no-unused-vars] 'useDisclosure' is defined but never used.
frontend/src/Pages/delivery/DLeditdriver.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Pages/Admin/Astaff.jsx#L5
[no-unused-vars] 'useDisclosure' is defined but never used.
frontend/src/Components/ProductCarosul.jsx#L22
[no-undef] 'setError' is not defined.
frontend/src/Pages/Shop/ProductPage.jsx#L142
[react/no-unescaped-entities] `'` can be escaped with `'`, `‘`, `'`, `’`.
frontend/src/Pages/order/Cart.jsx#L271
[react/no-unknown-property] Unknown property 'autocomplete' found, use 'autoComplete' instead
frontend/src/Pages/delivery/DLeditdriver.jsx#L12
[no-unused-vars] 'isEditing' is assigned a value but never used.
frontend/src/Pages/Admin/Astaff.jsx#L27
[no-unused-vars] 'Header' is defined but never used.
frontend/src/Components/Temp_ImageUpload.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Pages/Shop/ProductPage.jsx#L161
[react/no-unknown-property] Unknown property 'stroke-linecap' found, use 'strokeLinecap' instead
frontend/src/Pages/order/checkOut.jsx#L4
[no-unused-vars] 'CardElement' is defined but never used.
frontend/src/Pages/delivery/DLeditdriver.jsx#L12
[no-unused-vars] 'setIsEditing' is assigned a value but never used.
frontend/src/Pages/Admin/AupdateCoupon.jsx#L15
[no-unused-vars] 'loading' is assigned a value but never used.
frontend/src/Components/Temp_ImageUpload.jsx#L1
[no-unused-vars] 'useState' is defined but never used.
frontend/src/Pages/Shop/ProductPage.jsx#L162
[react/no-unknown-property] Unknown property 'stroke-linejoin' found, use 'strokeLinejoin' instead
frontend/src/Pages/delivery/DLeditdriver.jsx#L138
[no-unused-vars] 'calculateAge' is assigned a value but never used.
frontend/src/Pages/Admin/AupdateStaff.jsx#L22
[no-unused-vars] 'loading' is assigned a value but never used.
frontend/src/Pages/Shop/ProductPage.jsx#L163
[react/no-unknown-property] Unknown property 'stroke-width' found, use 'strokeWidth' instead
frontend/src/main.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Pages/delivery/DLmangeDash.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Pages/Admin/Ausers.jsx#L4
[no-unused-vars] 'FaRegEye' is defined but never used.
frontend/src/Pages/Shop/ProductPage.jsx#L175
[react/no-unknown-property] Unknown property 'class' found, use 'className' instead
frontend/vite.config.js#L6
[no-undef] 'process' is not defined.
frontend/src/Pages/delivery/DLmangeDash.jsx#L120
[no-unused-vars] 'handleViewDriver' is assigned a value but never used.
frontend/src/Components/Temp_ImageUpload.jsx#L5
[react/prop-types] 'file' is missing in props validation
frontend/src/Pages/Admin/Ausers.jsx#L17
[no-unused-vars] 'Button' is defined but never used.
frontend/src/Pages/Shop/ProductPage.jsx#L176
[react/no-unknown-property] Unknown property 'class' found, use 'className' instead
frontend/src/Pages/delivery/DLmangeDash.jsx#L125
[no-unused-vars] 'handleViewDelivery' is assigned a value but never used.
frontend/src/Components/Temp_ImageUpload.jsx#L6
[react/prop-types] 'folder' is missing in props validation
frontend/src/Pages/Admin/Ausers.jsx#L95
[no-unused-vars] 'handleEditCustomer' is assigned a value but never used.
frontend/src/Pages/Shop/ProductPage.jsx#L180
[react/no-unknown-property] Unknown property 'class' found, use 'className' instead
frontend/src/Pages/delivery/DLoooo.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Components/Temp_ImageUpload.jsx#L7
[react/prop-types] 'onUploadSuccess' is missing in props validation
frontend/src/Pages/Admin/Ausers.jsx#L224
[no-undef] 'member' is not defined.
frontend/src/Pages/Shop/ProductPage.jsx#L181
[react/no-unknown-property] Unknown property 'class' found, use 'className' instead
frontend/src/Pages/Admin/ManageShopIncome.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Components/Temp_ImageUpload.jsx#L8
[react/prop-types] 'onUploadError' is missing in props validation
frontend/src/Pages/Shop/ProductPage.jsx#L184
[react/no-unknown-property] Unknown property 'class' found, use 'className' instead
frontend/src/Pages/Customer/CheckEmail.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Components/UserOrderTable.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Pages/Customer/DownloadReceipt.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Pages/Shop/ProductPage.jsx#L185
[react/no-unescaped-entities] `"` can be escaped with `"`, `“`, `"`, `”`.
frontend/src/Components/UserOrderTable.jsx#L14
[react/prop-types] 'items' is missing in props validation
frontend/src/Pages/Customer/DownloadReceipt.jsx#L5
[react/prop-types] 'order' is missing in props validation
frontend/src/Pages/Shop/ProductPage.jsx#L185
[react/no-unescaped-entities] `"` can be escaped with `"`, `“`, `"`, `”`.
frontend/src/Pages/Shop/ProductPage.jsx#L187
[react/no-unknown-property] Unknown property 'class' found, use 'className' instead
frontend/src/Pages/Customer/DownloadReceipt.jsx#L12
[react/prop-types] 'order._id' is missing in props validation
frontend/src/Pages/Shop/ProductPage.jsx#L192
[react/no-unknown-property] Unknown property 'class' found, use 'className' instead
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.
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.
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.
frontend/src/Pages/farmer/FarmerDashboard.jsx#L68
[react-hooks/exhaustive-deps] React Hook useEffect has missing dependencies: 'farmer._id' and 'navigate'. Either include them or remove the dependency array.
frontend/src/Pages/Customer/RegisterForm.jsx#L132
[react-hooks/exhaustive-deps] React Hook useEffect has a missing dependency: 'validateConfirmPassword'. Either include it or remove the dependency array.
frontend/src/Pages/Customer/Settings.jsx#L55
[react-hooks/exhaustive-deps] React Hook useEffect has a missing dependency: 'user'. Either include it or remove the dependency array.
frontend/src/Components/Home/Header.jsx#L14
[react-hooks/exhaustive-deps] The 'cartItems' logical expression could make the dependencies of useEffect Hook (at line 31) change on every render. Move it inside the useEffect callback. Alternatively, wrap the initialization of 'cartItems' in its own useMemo() Hook.
frontend/src/Pages/Customer/UserAllOrders.jsx#L39
[react-hooks/exhaustive-deps] React Hook useEffect has a missing dependency: 'user._id'. Either include it or remove the dependency array.
frontend/src/Pages/Customer/UserDashboard.jsx#L48
[react-hooks/exhaustive-deps] React Hook useEffect has a missing dependency: 'user._id'. Either include it or remove the dependency array.
frontend/src/Pages/farmer/shopProfile.jsx#L83
[react-hooks/exhaustive-deps] React Hook useEffect has a missing dependency: 'handleDistrictChange'. Either include it or remove the dependency array.
frontend/src/Components/PasswordUpdate.jsx#L122
[react-hooks/exhaustive-deps] React Hook useEffect has a missing dependency: 'validateConfirmPassword'. Either include it or remove the dependency array.
frontend/src/Pages/order/checkOut.jsx#L178
[react-hooks/exhaustive-deps] React Hook useEffect has a missing dependency: 'navigate'. Either include it or remove the dependency array.