Skip to content

Merge branch 'ishara' into development

Sign in for the full log view
GitHub Actions / ESLint Report Analysis failed Oct 11, 2024 in 1s

ESLint Report Analysis

41 ESLint error(s) and 2 ESLint warning(s) found in pull request changed files.

Details

Pull Request Changed Files ESLint Results:

41 ESLint error(s) and 2 ESLint warning(s) found

41 Error(s):

frontend/src/App.jsx line 15

  • Start Line: 15
  • End Line: 15
  • Message: 'Farmer_sidebar' is defined but never used.
    • From: [no-unused-vars]

frontend/src/Components/Admin/AstaffPrivateRoute.jsx line 3

  • Start Line: 3
  • End Line: 3
  • Message: 'manager' is missing in props validation
    • From: [react/prop-types]

frontend/src/Components/Admin/admnlogins.jsx line 1

  • Start Line: 1
  • End Line: 1
  • Message: 'React' is defined but never used.
    • From: [no-unused-vars]

frontend/src/Components/Admin/admnlogins.jsx line 7

  • Start Line: 7
  • End Line: 7
  • Message: 'manager' is missing in props validation
    • From: [react/prop-types]

frontend/src/Components/Order/ProgressBar.jsx line 1

  • Start Line: 1
  • End Line: 1
  • Message: 'React' is defined but never used.
    • From: [no-unused-vars]

frontend/src/Components/Order/ProgressBar.jsx line 4

  • Start Line: 4
  • End Line: 4
  • Message: 'currentStep' is missing in props validation
    • From: [react/prop-types]

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]

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]

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]

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]

frontend/src/Pages/Shop/ProductPage.jsx line 10

  • Start Line: 10
  • End Line: 10
  • Message: 'navigate' is assigned a value but never used.
    • From: [no-unused-vars]

frontend/src/Pages/Shop/ProductPage.jsx line 137

  • Start Line: 137
  • End Line: 137
  • Message: ' can be escaped with ', ‘, ', ’.
    • From: [react/no-unescaped-entities]

frontend/src/Pages/Shop/ProductPage.jsx line 156

  • Start Line: 156
  • End Line: 156
  • Message: Unknown property 'stroke-linecap' found, use 'strokeLinecap' instead
    • From: [react/no-unknown-property]

frontend/src/Pages/Shop/ProductPage.jsx line 157

  • Start Line: 157
  • End Line: 157
  • Message: Unknown property 'stroke-linejoin' found, use 'strokeLinejoin' instead
    • From: [react/no-unknown-property]

frontend/src/Pages/Shop/ProductPage.jsx line 158

  • Start Line: 158
  • End Line: 158
  • Message: Unknown property 'stroke-width' found, use 'strokeWidth' instead
    • From: [react/no-unknown-property]

frontend/src/Pages/Shop/ProductPage.jsx line 170

  • Start Line: 170
  • End Line: 170
  • Message: Unknown property 'class' found, use 'className' instead
    • From: [react/no-unknown-property]

frontend/src/Pages/Shop/ProductPage.jsx line 171

  • Start Line: 171
  • End Line: 171
  • Message: Unknown property 'class' found, use 'className' instead
    • From: [react/no-unknown-property]

frontend/src/Pages/Shop/ProductPage.jsx line 175

  • Start Line: 175
  • End Line: 175
  • Message: Unknown property 'class' found, use 'className' instead
    • From: [react/no-unknown-property]

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]

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]

frontend/src/Pages/Shop/ProductPage.jsx line 180

  • Start Line: 180
  • End Line: 180
  • Message: " can be escaped with ", “, ", ”.
    • From: [react/no-unescaped-entities]

frontend/src/Pages/Shop/ProductPage.jsx line 180

  • Start Line: 180
  • End Line: 180
  • Message: " can be escaped with ", “, ", ”.
    • From: [react/no-unescaped-entities]

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]

frontend/src/Pages/Shop/ProductPage.jsx line 187

  • Start Line: 187
  • End Line: 187
  • Message: Unknown property 'class' found, use 'className' instead
    • From: [react/no-unknown-property]

frontend/src/Pages/Shop/ProductPage.jsx line 188

  • Start Line: 188
  • End Line: 188
  • Message: Unknown property 'class' found, use 'className' instead
    • From: [react/no-unknown-property]

frontend/src/Pages/Shop/ProductPage.jsx line 191

  • Start Line: 191
  • End Line: 191
  • Message: Unknown property 'class' found, use 'className' instead
    • From: [react/no-unknown-property]

frontend/src/Pages/Shop/ProductPage.jsx line 192

  • Start Line: 192
  • End Line: 192
  • Message: " can be escaped with ", “, ", ”.
    • From: [react/no-unescaped-entities]

frontend/src/Pages/Shop/ProductPage.jsx line 192

  • Start Line: 192
  • End Line: 192
  • Message: " can be escaped with ", “, ", ”.
    • From: [react/no-unescaped-entities]

frontend/src/Pages/Shop/ProductPage.jsx line 194

  • Start Line: 194
  • End Line: 194
  • Message: Unknown property 'class' found, use 'className' instead
    • From: [react/no-unknown-property]

frontend/src/Pages/Shop/ProductPage.jsx line 197

  • Start Line: 197
  • End Line: 197
  • Message: Unknown property 'class' found, use 'className' instead
    • From: [react/no-unknown-property]

frontend/src/Pages/Shop/ProductPage.jsx line 198

  • Start Line: 198
  • End Line: 198
  • Message: Unknown property 'class' found, use 'className' instead
    • From: [react/no-unknown-property]

frontend/src/Pages/Shop/ProductPage.jsx line 201

  • Start Line: 201
  • End Line: 201
  • Message: Unknown property 'class' found, use 'className' instead
    • From: [react/no-unknown-property]

frontend/src/Pages/Shop/ProductPage.jsx line 202

  • Start Line: 202
  • End Line: 202
  • Message: " can be escaped with ", “, ", ”.
    • From: [react/no-unescaped-entities]

frontend/src/Pages/Shop/ProductPage.jsx line 202

  • Start Line: 202
  • End Line: 202
  • Message: " can be escaped with ", “, ", ”.
    • From: [react/no-unescaped-entities]

frontend/src/Pages/Shop/ProductPage.jsx line 204

  • Start Line: 204
  • End Line: 204
  • Message: Unknown property 'class' found, use 'className' instead
    • From: [react/no-unknown-property]

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]

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]

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]

frontend/src/Pages/farmer/FarmerDashboard.jsx line 39

  • Start Line: 39
  • End Line: 39
  • Message: 'navigate' is assigned a value but never used.
    • From: [no-unused-vars]

frontend/src/Pages/order/Cart.jsx line 1

  • Start Line: 1
  • End Line: 1
  • Message: 'useDisclosure' is defined but never used.
    • From: [no-unused-vars]

frontend/src/Pages/order/checkOut.jsx line 4

  • Start Line: 4
  • End Line: 4
  • Message: 'CardElement' is defined but never used.
    • From: [no-unused-vars]

2 Warning(s):

frontend/src/Pages/farmer/FarmerDashboard.jsx line 68

  • Start Line: 68
  • End Line: 68
  • Message: React Hook useEffect has a missing dependency: 'farmer._id'. Either include it or remove the dependency array.
    • From: [react-hooks/exhaustive-deps]

frontend/src/Pages/order/checkOut.jsx line 178

  • Start Line: 178
  • End Line: 178
  • Message: React Hook useEffect has a missing dependency: 'navigate'. Either include it or remove the dependency array.
    • From: [react-hooks/exhaustive-deps]

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 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/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 7 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#L7

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

Check failure on line 1 in frontend/src/Components/Order/ProgressBar.jsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

frontend/src/Components/Order/ProgressBar.jsx#L1

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

Check failure on line 4 in frontend/src/Components/Order/ProgressBar.jsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

frontend/src/Components/Order/ProgressBar.jsx#L4

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

Check failure on line 1 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#L1

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

Check failure on line 4 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#L4

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

Check failure on line 6 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#L6

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

Check failure on line 6 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#L6

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

Check failure on line 10 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#L10

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

Check failure on line 137 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#L137

[react/no-unescaped-entities] `'` can be escaped with `'`, `‘`, `'`, `’`.

Check failure on line 156 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#L156

[react/no-unknown-property] Unknown property 'stroke-linecap' found, use 'strokeLinecap' instead

Check failure on line 157 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#L157

[react/no-unknown-property] Unknown property 'stroke-linejoin' found, use 'strokeLinejoin' instead

Check failure on line 158 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#L158

[react/no-unknown-property] Unknown property 'stroke-width' found, use 'strokeWidth' instead

Check failure on line 170 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#L170

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

Check failure on line 171 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#L171

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

Check failure on line 175 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#L175

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

Check failure on line 176 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#L176

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

Check failure on line 179 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#L179

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

Check failure on line 180 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#L180

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

Check failure on line 180 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#L180

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

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