✨ feat: Automated Docker Image Building & Bug fixes (#55) #119
ESLint Report Analysis
48 ESLint error(s) and 5 ESLint warning(s) found in pull request changed files.
Details
Pull Request Changed Files ESLint Results:
48 ESLint error(s) and 5 ESLint warning(s) found
48 Error(s):
frontend/src/Components/Address.jsx
line 1
- Start Line:
1
- End Line:
1
- Message: 'React' is defined but never used.
- From: [
no-unused-vars
]
- From: [
frontend/src/Components/ConfirmationModal.jsx
line 3
- Start Line:
3
- End Line:
3
- Message: 'isOpen' is missing in props validation
- From: [
react/prop-types
]
- From: [
frontend/src/Components/ConfirmationModal.jsx
line 3
- Start Line:
3
- End Line:
3
- Message: 'onClose' is missing in props validation
- From: [
react/prop-types
]
- From: [
frontend/src/Components/ConfirmationModal.jsx
line 3
- Start Line:
3
- End Line:
3
- Message: 'onConfirm' is missing in props validation
- From: [
react/prop-types
]
- From: [
frontend/src/Components/ConfirmationModal.jsx
line 48
- Start Line:
48
- End Line:
48
- Message:
'
can be escaped with'
,‘
,'
,’
.- From: [
react/no-unescaped-entities
]
- From: [
frontend/src/Components/ProductCarosul.jsx
line 1
- Start Line:
1
- End Line:
1
- Message: 'React' is defined but never used.
- From: [
no-unused-vars
]
- From: [
frontend/src/Pages/Customer/PaymentConfirmation.jsx
line 1
- Start Line:
1
- End Line:
1
- Message: 'React' is defined but never used.
- From: [
no-unused-vars
]
- From: [
frontend/src/Pages/Customer/PaymentConfirmation.jsx
line 10
- Start Line:
10
- End Line:
10
- Message: 'setPaymentSuccess' is missing in props validation
- From: [
react/prop-types
]
- From: [
frontend/src/Pages/Customer/PaymentConfirmation.jsx
line 10
- Start Line:
10
- End Line:
10
- Message: 'setPaymentSuccess' is defined but never used.
- From: [
no-unused-vars
]
- From: [
frontend/src/Pages/Customer/PaymentConfirmation.jsx
line 10
- Start Line:
10
- End Line:
10
- Message: 'setOrderID' is missing in props validation
- From: [
react/prop-types
]
- From: [
frontend/src/Pages/Customer/PaymentConfirmation.jsx
line 10
- Start Line:
10
- End Line:
10
- Message: 'setOrderID' is defined but never used.
- From: [
no-unused-vars
]
- From: [
frontend/src/Pages/Customer/UserDashboard.jsx
line 1
- Start Line:
1
- End Line:
1
- Message: 'React' is defined but never used.
- From: [
no-unused-vars
]
- From: [
frontend/src/Pages/Customer/UserDashboard.jsx
line 19
- Start Line:
19
- End Line:
19
- Message: 'pages' is assigned a value but never used.
- From: [
no-unused-vars
]
- From: [
frontend/src/Pages/Customer/UserDashboard.jsx
line 61
- Start Line:
61
- End Line:
61
- Message:
'
can be escaped with'
,‘
,'
,’
.- From: [
react/no-unescaped-entities
]
- From: [
frontend/src/Pages/Shop/ProductPage.jsx
line 1
- Start Line:
1
- End Line:
1
- Message: 'React' is defined but never used.
- From: [
no-unused-vars
]
- From: [
frontend/src/Pages/Shop/ProductPage.jsx
line 4
- Start Line:
4
- End Line:
4
- Message: 'Toaster' is defined but never used.
- From: [
no-unused-vars
]
- From: [
frontend/src/Pages/Shop/ProductPage.jsx
line 6
- Start Line:
6
- End Line:
6
- Message: 'onAddToCart' is missing in props validation
- From: [
react/prop-types
]
- From: [
frontend/src/Pages/Shop/ProductPage.jsx
line 6
- Start Line:
6
- End Line:
6
- Message: 'onAddToCart' is defined but never used.
- From: [
no-unused-vars
]
- From: [
frontend/src/Pages/Shop/ProductPage.jsx
line 134
- Start Line:
134
- End Line:
134
- Message:
'
can be escaped with'
,‘
,'
,’
.- From: [
react/no-unescaped-entities
]
- From: [
frontend/src/Pages/Shop/ProductPage.jsx
line 153
- Start Line:
153
- End Line:
153
- Message: Unknown property 'stroke-linecap' found, use 'strokeLinecap' instead
- From: [
react/no-unknown-property
]
- From: [
frontend/src/Pages/Shop/ProductPage.jsx
line 154
- Start Line:
154
- End Line:
154
- Message: Unknown property 'stroke-linejoin' found, use 'strokeLinejoin' instead
- From: [
react/no-unknown-property
]
- From: [
frontend/src/Pages/Shop/ProductPage.jsx
line 155
- Start Line:
155
- End Line:
155
- Message: Unknown property 'stroke-width' found, use 'strokeWidth' instead
- From: [
react/no-unknown-property
]
- From: [
frontend/src/Pages/Shop/ProductPage.jsx
line 167
- Start Line:
167
- End Line:
167
- Message: Unknown property 'class' found, use 'className' instead
- From: [
react/no-unknown-property
]
- From: [
frontend/src/Pages/Shop/ProductPage.jsx
line 168
- Start Line:
168
- End Line:
168
- Message: Unknown property 'class' found, use 'className' instead
- From: [
react/no-unknown-property
]
- From: [
frontend/src/Pages/Shop/ProductPage.jsx
line 172
- Start Line:
172
- End Line:
172
- Message: Unknown property 'class' found, use 'className' instead
- From: [
react/no-unknown-property
]
- From: [
frontend/src/Pages/Shop/ProductPage.jsx
line 173
- Start Line:
173
- End Line:
173
- Message: Unknown property 'class' found, use 'className' instead
- From: [
react/no-unknown-property
]
- From: [
frontend/src/Pages/Shop/ProductPage.jsx
line 176
- Start Line:
176
- End Line:
176
- Message: Unknown property 'class' found, use 'className' instead
- From: [
react/no-unknown-property
]
- From: [
frontend/src/Pages/Shop/ProductPage.jsx
line 177
- Start Line:
177
- End Line:
177
- Message:
"
can be escaped with"
,“
,"
,”
.- From: [
react/no-unescaped-entities
]
- From: [
frontend/src/Pages/Shop/ProductPage.jsx
line 177
- Start Line:
177
- End Line:
177
- Message:
"
can be escaped with"
,“
,"
,”
.- From: [
react/no-unescaped-entities
]
- From: [
frontend/src/Pages/Shop/ProductPage.jsx
line 179
- Start Line:
179
- End Line:
179
- Message: Unknown property 'class' found, use 'className' instead
- From: [
react/no-unknown-property
]
- From: [
frontend/src/Pages/Shop/ProductPage.jsx
line 182
- Start Line:
182
- End Line:
182
- Message: Unknown property 'class' found, use 'className' instead
- From: [
react/no-unknown-property
]
- From: [
frontend/src/Pages/Shop/ProductPage.jsx
line 183
- Start Line:
183
- End Line:
183
- Message: Unknown property 'class' found, use 'className' instead
- From: [
react/no-unknown-property
]
- From: [
frontend/src/Pages/Shop/ProductPage.jsx
line 186
- Start Line:
186
- End Line:
186
- Message: Unknown property 'class' found, use 'className' instead
- From: [
react/no-unknown-property
]
- From: [
frontend/src/Pages/Shop/ProductPage.jsx
line 187
- Start Line:
187
- End Line:
187
- Message:
"
can be escaped with"
,“
,"
,”
.- From: [
react/no-unescaped-entities
]
- From: [
frontend/src/Pages/Shop/ProductPage.jsx
line 187
- Start Line:
187
- End Line:
187
- Message:
"
can be escaped with"
,“
,"
,”
.- From: [
react/no-unescaped-entities
]
- From: [
frontend/src/Pages/Shop/ProductPage.jsx
line 189
- Start Line:
189
- End Line:
189
- Message: Unknown property 'class' found, use 'className' instead
- From: [
react/no-unknown-property
]
- From: [
frontend/src/Pages/Shop/ProductPage.jsx
line 192
- Start Line:
192
- End Line:
192
- Message: Unknown property 'class' found, use 'className' instead
- From: [
react/no-unknown-property
]
- From: [
frontend/src/Pages/Shop/ProductPage.jsx
line 193
- Start Line:
193
- End Line:
193
- Message: Unknown property 'class' found, use 'className' instead
- From: [
react/no-unknown-property
]
- From: [
frontend/src/Pages/Shop/ProductPage.jsx
line 196
- Start Line:
196
- End Line:
196
- Message: Unknown property 'class' found, use 'className' instead
- From: [
react/no-unknown-property
]
- From: [
frontend/src/Pages/Shop/ProductPage.jsx
line 197
- Start Line:
197
- End Line:
197
- Message:
"
can be escaped with"
,“
,"
,”
.- From: [
react/no-unescaped-entities
]
- From: [
frontend/src/Pages/Shop/ProductPage.jsx
line 197
- Start Line:
197
- End Line:
197
- Message:
"
can be escaped with"
,“
,"
,”
.- From: [
react/no-unescaped-entities
]
- From: [
frontend/src/Pages/Shop/ProductPage.jsx
line 199
- Start Line:
199
- End Line:
199
- Message: Unknown property 'class' found, use 'className' instead
- From: [
react/no-unknown-property
]
- From: [
frontend/src/Pages/Shop/ShopList.jsx
line 1
- Start Line:
1
- End Line:
1
- Message: 'React' is defined but never used.
- From: [
no-unused-vars
]
- From: [
frontend/src/Pages/Shop/ShopList.jsx
line 37
- Start Line:
37
- End Line:
37
- Message: 'config' is assigned a value but never used.
- From: [
no-unused-vars
]
- From: [
frontend/src/Pages/Shop/ShopPage.jsx
line 1
- Start Line:
1
- End Line:
1
- Message: 'React' is defined but never used.
- From: [
no-unused-vars
]
- From: [
frontend/src/Pages/farmer/Myshops.jsx
line 74
- Start Line:
74
- End Line:
74
- Message:
"
can be escaped with"
,“
,"
,”
.- From: [
react/no-unescaped-entities
]
- From: [
frontend/src/Pages/farmer/Myshops.jsx
line 75
- Start Line:
75
- End Line:
75
- Message:
"
can be escaped with"
,“
,"
,”
.- From: [
react/no-unescaped-entities
]
- From: [
frontend/src/main.jsx
line 1
- Start Line:
1
- End Line:
1
- Message: 'React' is defined but never used.
- From: [
no-unused-vars
]
- From: [
5 Warning(s):
frontend/src/Components/Address.jsx
line 28
- Start Line:
28
- End Line:
28
- Message: React Hook useEffect has a missing dependency: 'user'. Either include it or remove the dependency array.
- From: [
react-hooks/exhaustive-deps
]
- From: [
frontend/src/Pages/Customer/PaymentConfirmation.jsx
line 65
- Start Line:
65
- End Line:
65
- Message: 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.
- From: [
react-hooks/exhaustive-deps
]
- From: [
frontend/src/Pages/Customer/PaymentConfirmation.jsx
line 71
- Start Line:
71
- End Line:
71
- Message: React Hook useEffect has a missing dependency: 'updateDB'. Either include it or remove the dependency array.
- From: [
react-hooks/exhaustive-deps
]
- From: [
frontend/src/Pages/Customer/RegisterForm.jsx
line 132
- Start Line:
132
- End Line:
132
- Message: React Hook useEffect has a missing dependency: 'validateConfirmPassword'. Either include it or remove the dependency array.
- From: [
react-hooks/exhaustive-deps
]
- From: [
frontend/src/Pages/Customer/Settings.jsx
line 53
- Start Line:
53
- End Line:
53
- Message: React Hook useEffect has a missing dependency: 'user'. Either include it or remove the dependency array.
- From: [
react-hooks/exhaustive-deps
]
- From: [
Annotations
Check failure on line 1 in frontend/src/Components/Address.jsx
github-actions / ESLint Report Analysis
frontend/src/Components/Address.jsx#L1
[no-unused-vars] 'React' is defined but never used.
Check failure on line 74 in frontend/src/Pages/farmer/Myshops.jsx
github-actions / ESLint Report Analysis
frontend/src/Pages/farmer/Myshops.jsx#L74
[react/no-unescaped-entities] `"` can be escaped with `"`, `“`, `"`, `”`.
Check warning on line 28 in frontend/src/Components/Address.jsx
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 75 in frontend/src/Pages/farmer/Myshops.jsx
github-actions / ESLint Report Analysis
frontend/src/Pages/farmer/Myshops.jsx#L75
[react/no-unescaped-entities] `"` can be escaped with `"`, `“`, `"`, `”`.
Check failure on line 3 in frontend/src/Components/ConfirmationModal.jsx
github-actions / ESLint Report Analysis
frontend/src/Components/ConfirmationModal.jsx#L3
[react/prop-types] 'isOpen' is missing in props validation
Check failure on line 1 in frontend/src/main.jsx
github-actions / ESLint Report Analysis
frontend/src/main.jsx#L1
[no-unused-vars] 'React' is defined but never used.
Check failure on line 3 in frontend/src/Components/ConfirmationModal.jsx
github-actions / ESLint Report Analysis
frontend/src/Components/ConfirmationModal.jsx#L3
[react/prop-types] 'onClose' is missing in props validation
Check failure on line 3 in frontend/src/Components/ConfirmationModal.jsx
github-actions / ESLint Report Analysis
frontend/src/Components/ConfirmationModal.jsx#L3
[react/prop-types] 'onConfirm' is missing in props validation
Check failure on line 48 in frontend/src/Components/ConfirmationModal.jsx
github-actions / ESLint Report Analysis
frontend/src/Components/ConfirmationModal.jsx#L48
[react/no-unescaped-entities] `'` can be escaped with `'`, `‘`, `'`, `’`.
Check failure on line 1 in frontend/src/Components/ProductCarosul.jsx
github-actions / ESLint Report Analysis
frontend/src/Components/ProductCarosul.jsx#L1
[no-unused-vars] 'React' is defined but never used.
Check failure on line 1 in frontend/src/Pages/Customer/PaymentConfirmation.jsx
github-actions / ESLint Report Analysis
frontend/src/Pages/Customer/PaymentConfirmation.jsx#L1
[no-unused-vars] 'React' is defined but never used.
Check failure on line 10 in frontend/src/Pages/Customer/PaymentConfirmation.jsx
github-actions / ESLint Report Analysis
frontend/src/Pages/Customer/PaymentConfirmation.jsx#L10
[react/prop-types] 'setPaymentSuccess' is missing in props validation
Check failure on line 10 in frontend/src/Pages/Customer/PaymentConfirmation.jsx
github-actions / ESLint Report Analysis
frontend/src/Pages/Customer/PaymentConfirmation.jsx#L10
[no-unused-vars] 'setPaymentSuccess' is defined but never used.
Check failure on line 10 in frontend/src/Pages/Customer/PaymentConfirmation.jsx
github-actions / ESLint Report Analysis
frontend/src/Pages/Customer/PaymentConfirmation.jsx#L10
[react/prop-types] 'setOrderID' is missing in props validation
Check failure on line 10 in frontend/src/Pages/Customer/PaymentConfirmation.jsx
github-actions / ESLint Report Analysis
frontend/src/Pages/Customer/PaymentConfirmation.jsx#L10
[no-unused-vars] 'setOrderID' is defined but never used.
Check warning on line 65 in frontend/src/Pages/Customer/PaymentConfirmation.jsx
github-actions / ESLint Report Analysis
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.
Check warning on line 71 in frontend/src/Pages/Customer/PaymentConfirmation.jsx
github-actions / ESLint Report Analysis
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.
Check warning on line 132 in frontend/src/Pages/Customer/RegisterForm.jsx
github-actions / ESLint Report Analysis
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.
Check warning on line 53 in frontend/src/Pages/Customer/Settings.jsx
github-actions / ESLint Report Analysis
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.
Check failure on line 1 in frontend/src/Pages/Customer/UserDashboard.jsx
github-actions / ESLint Report Analysis
frontend/src/Pages/Customer/UserDashboard.jsx#L1
[no-unused-vars] 'React' is defined but never used.
Check failure on line 19 in frontend/src/Pages/Customer/UserDashboard.jsx
github-actions / ESLint Report Analysis
frontend/src/Pages/Customer/UserDashboard.jsx#L19
[no-unused-vars] 'pages' is assigned a value but never used.
Check failure on line 61 in frontend/src/Pages/Customer/UserDashboard.jsx
github-actions / ESLint Report Analysis
frontend/src/Pages/Customer/UserDashboard.jsx#L61
[react/no-unescaped-entities] `'` can be escaped with `'`, `‘`, `'`, `’`.
Check failure on line 1 in frontend/src/Pages/Shop/ProductPage.jsx
github-actions / ESLint Report Analysis
frontend/src/Pages/Shop/ProductPage.jsx#L1
[no-unused-vars] 'React' is defined but never used.
Check failure on line 4 in frontend/src/Pages/Shop/ProductPage.jsx
github-actions / ESLint Report Analysis
frontend/src/Pages/Shop/ProductPage.jsx#L4
[no-unused-vars] 'Toaster' is defined but never used.
Check failure on line 6 in frontend/src/Pages/Shop/ProductPage.jsx
github-actions / ESLint Report Analysis
frontend/src/Pages/Shop/ProductPage.jsx#L6
[react/prop-types] 'onAddToCart' is missing in props validation