Skip to content

Run Formatters

Run Formatters #14

GitHub Actions / ESLint Report Analysis failed Oct 14, 2024 in 1s

ESLint Report Analysis

19 ESLint error(s) and 0 ESLint warning(s) found

Details

19 Error(s):

backend/controllers/Admin/AcustomerController.js line 104

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

backend/controllers/Admin/Afarmer.js line 2

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

backend/controllers/Admin/Afarmer.js line 7

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

backend/controllers/Admin/AstaffController.js line 41

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

backend/controllers/Admin/AstaffController.js line 125

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

backend/controllers/Admin/AstaffController.js line 130

  • Start Line: 130
  • End Line: 130
  • Message: 'emailOptions' is not defined.
    • From: [no-undef]

backend/controllers/DLDriverController.js line 327

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

backend/controllers/DLEmailController.js line 3

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

backend/controllers/DLEmailController.js line 4

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

backend/controllers/DLEmailController.js line 86

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

backend/controllers/DLOcontroller.js line 176

  • Start Line: 176
  • End Line: 176
  • Message: 'mongoose' is not defined.
    • From: [no-undef]

backend/controllers/couponController.js line 97

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

backend/controllers/farmerController.js line 174

  • Start Line: 174
  • End Line: 174
  • Message: 'bcrypt' is not defined.
    • From: [no-undef]

backend/controllers/farmerController.js line 301

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

backend/middlewares/DLMulter.js line 2

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

backend/middlewares/DLauthMiddleware.js line 18

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

backend/models/OrderModel.js line 2

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

backend/utils/DLSendEmail.js line 22

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

Annotations

Check failure on line 104 in backend/controllers/Admin/AcustomerController.js

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

backend/controllers/Admin/AcustomerController.js#L104

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

Check failure on line 2 in backend/controllers/Admin/Afarmer.js

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

backend/controllers/Admin/Afarmer.js#L2

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

Check failure on line 7 in backend/controllers/Admin/Afarmer.js

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

backend/controllers/Admin/Afarmer.js#L7

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

Check failure on line 41 in backend/controllers/Admin/AstaffController.js

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

backend/controllers/Admin/AstaffController.js#L41

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

Check failure on line 125 in backend/controllers/Admin/AstaffController.js

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

backend/controllers/Admin/AstaffController.js#L125

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

Check failure on line 130 in backend/controllers/Admin/AstaffController.js

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

backend/controllers/Admin/AstaffController.js#L130

[no-undef] 'emailOptions' is not defined.

Check failure on line 327 in backend/controllers/DLDriverController.js

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

backend/controllers/DLDriverController.js#L327

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

Check failure on line 3 in backend/controllers/DLEmailController.js

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

backend/controllers/DLEmailController.js#L3

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

Check failure on line 4 in backend/controllers/DLEmailController.js

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

backend/controllers/DLEmailController.js#L4

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

Check failure on line 86 in backend/controllers/DLEmailController.js

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

backend/controllers/DLEmailController.js#L86

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

Check failure on line 176 in backend/controllers/DLOcontroller.js

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

backend/controllers/DLOcontroller.js#L176

[no-undef] 'mongoose' is not defined.

Check failure on line 97 in backend/controllers/couponController.js

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

backend/controllers/couponController.js#L97

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

Check failure on line 174 in backend/controllers/farmerController.js

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

backend/controllers/farmerController.js#L174

[no-undef] 'bcrypt' is not defined.

Check failure on line 301 in backend/controllers/farmerController.js

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

backend/controllers/farmerController.js#L301

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

Check failure on line 2 in backend/middlewares/DLMulter.js

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

backend/middlewares/DLMulter.js#L2

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

Check failure on line 18 in backend/middlewares/DLauthMiddleware.js

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

backend/middlewares/DLauthMiddleware.js#L18

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

Check failure on line 2 in backend/models/OrderModel.js

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

backend/models/OrderModel.js#L2

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

Check failure on line 22 in backend/utils/DLSendEmail.js

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

backend/utils/DLSendEmail.js#L22

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