Skip to content

Release

Release #118

Triggered via pull request October 6, 2024 21:17
@nmdranmdra
synchronize #55
release
Status Failure
Total duration 53s
Artifacts

lint-test.yml

on: pull_request
Lint backend  /  lint
18s
Lint backend / lint
Lint frontend  /  lint
43s
Lint frontend / lint
Fit to window
Zoom out
Zoom in

Annotations

51 errors and 5 warnings
Lint backend / lint
Process completed with exit code 1.
frontend/src/Components/Address.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Components/ConfirmationModal.jsx#L3
[react/prop-types] 'isOpen' is missing in props validation
frontend/src/Pages/farmer/Myshops.jsx#L74
[react/no-unescaped-entities] `"` can be escaped with `"`, `“`, `"`, `”`.
frontend/src/Components/ConfirmationModal.jsx#L3
[react/prop-types] 'onClose' is missing in props validation
frontend/src/Pages/farmer/Myshops.jsx#L75
[react/no-unescaped-entities] `"` can be escaped with `"`, `“`, `"`, `”`.
frontend/src/Components/ConfirmationModal.jsx#L3
[react/prop-types] 'onConfirm' is missing in props validation
frontend/src/main.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/Components/ProductCarosul.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Pages/Customer/PaymentConfirmation.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Pages/Customer/PaymentConfirmation.jsx#L10
[react/prop-types] 'setPaymentSuccess' is missing in props validation
frontend/src/Pages/Customer/PaymentConfirmation.jsx#L10
[no-unused-vars] 'setPaymentSuccess' is defined but never used.
frontend/src/Pages/Customer/PaymentConfirmation.jsx#L10
[react/prop-types] 'setOrderID' is missing in props validation
frontend/src/Pages/Customer/PaymentConfirmation.jsx#L10
[no-unused-vars] 'setOrderID' is defined but never used.
frontend/src/Pages/Customer/UserDashboard.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Pages/Customer/UserDashboard.jsx#L19
[no-unused-vars] 'pages' is assigned a value but never used.
frontend/src/Pages/Customer/UserDashboard.jsx#L61
[react/no-unescaped-entities] `'` can be escaped with `'`, `‘`, `'`, `’`.
frontend/src/Pages/Shop/ProductPage.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/Shop/ProductPage.jsx#L6
[react/prop-types] 'onAddToCart' is missing in props validation
frontend/src/Pages/Shop/ProductPage.jsx#L6
[no-unused-vars] 'onAddToCart' is defined but never used.
frontend/src/Pages/Shop/ProductPage.jsx#L134
[react/no-unescaped-entities] `'` can be escaped with `'`, `‘`, `'`, `’`.
frontend/src/Pages/Shop/ProductPage.jsx#L153
[react/no-unknown-property] Unknown property 'stroke-linecap' found, use 'strokeLinecap' instead
frontend/src/Pages/Shop/ProductPage.jsx#L154
[react/no-unknown-property] Unknown property 'stroke-linejoin' found, use 'strokeLinejoin' instead
frontend/src/Pages/Shop/ProductPage.jsx#L155
[react/no-unknown-property] Unknown property 'stroke-width' found, use 'strokeWidth' instead
frontend/src/Pages/Shop/ProductPage.jsx#L167
[react/no-unknown-property] Unknown property 'class' found, use 'className' instead
frontend/src/Pages/Shop/ProductPage.jsx#L168
[react/no-unknown-property] Unknown property 'class' found, use 'className' instead
frontend/src/Pages/Shop/ProductPage.jsx#L172
[react/no-unknown-property] Unknown property 'class' found, use 'className' instead
frontend/src/Pages/Shop/ProductPage.jsx#L173
[react/no-unknown-property] Unknown property 'class' found, use 'className' instead
frontend/src/Pages/Shop/ProductPage.jsx#L176
[react/no-unknown-property] Unknown property 'class' found, use 'className' instead
frontend/src/Pages/Shop/ProductPage.jsx#L177
[react/no-unescaped-entities] `"` can be escaped with `"`, `“`, `"`, `”`.
frontend/src/Pages/Shop/ProductPage.jsx#L177
[react/no-unescaped-entities] `"` can be escaped with `"`, `“`, `"`, `”`.
frontend/src/Pages/Shop/ProductPage.jsx#L179
[react/no-unknown-property] Unknown property 'class' found, use 'className' instead
frontend/src/Pages/Shop/ProductPage.jsx#L182
[react/no-unknown-property] Unknown property 'class' found, use 'className' instead
frontend/src/Pages/Shop/ProductPage.jsx#L183
[react/no-unknown-property] Unknown property 'class' found, use 'className' instead
frontend/src/Pages/Shop/ProductPage.jsx#L186
[react/no-unknown-property] Unknown property 'class' found, use 'className' instead
frontend/src/Pages/Shop/ProductPage.jsx#L187
[react/no-unescaped-entities] `"` can be escaped with `"`, `“`, `"`, `”`.
frontend/src/Pages/Shop/ProductPage.jsx#L187
[react/no-unescaped-entities] `"` can be escaped with `"`, `“`, `"`, `”`.
frontend/src/Pages/Shop/ProductPage.jsx#L189
[react/no-unknown-property] Unknown property 'class' found, use 'className' instead
frontend/src/Pages/Shop/ProductPage.jsx#L192
[react/no-unknown-property] Unknown property 'class' found, use 'className' instead
frontend/src/Pages/Shop/ProductPage.jsx#L193
[react/no-unknown-property] Unknown property 'class' found, use 'className' instead
frontend/src/Pages/Shop/ProductPage.jsx#L196
[react/no-unknown-property] Unknown property 'class' found, use 'className' instead
frontend/src/Pages/Shop/ProductPage.jsx#L197
[react/no-unescaped-entities] `"` can be escaped with `"`, `“`, `"`, `”`.
frontend/src/Pages/Shop/ProductPage.jsx#L197
[react/no-unescaped-entities] `"` can be escaped with `"`, `“`, `"`, `”`.
frontend/src/Pages/Shop/ProductPage.jsx#L199
[react/no-unknown-property] Unknown property 'class' found, use 'className' instead
frontend/src/Pages/Shop/ShopList.jsx#L1
[no-unused-vars] 'React' is defined but never used.
frontend/src/Pages/Shop/ShopList.jsx#L37
[no-unused-vars] 'config' is assigned a value but never used.
frontend/src/Pages/Shop/ShopPage.jsx#L1
[no-unused-vars] 'React' is defined but never used.
Lint frontend / lint
48 errors and 5 warnings
Lint frontend / lint
Process completed with exit code 1.
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/Pages/Customer/PaymentConfirmation.jsx#L65
[react-hooks/exhaustive-deps] React Hook useEffect has missing dependencies: 'billingCycle', 'membershipType', 'user.contactNumber', 'user.defaultAddress.city', 'user.defaultAddress.streetAddress', 'user.email', 'user.firstname', and 'user.lastname'. Either include them or remove the dependency array.
frontend/src/Pages/Customer/PaymentConfirmation.jsx#L71
[react-hooks/exhaustive-deps] React Hook useEffect has a missing dependency: 'updateDB'. Either include it 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#L53
[react-hooks/exhaustive-deps] React Hook useEffect has a missing dependency: 'user'. Either include it or remove the dependency array.