Skip to content

Run Formatters

Run Formatters #76

GitHub Actions / ESLint Report Analysis failed Oct 8, 2024 in 0s

ESLint Report Analysis

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

Details

14 Error(s):

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 60

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

backend/controllers/DLOcontroller.js line 166

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

backend/controllers/farmerController.js line 174

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

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/middlewares/farmerauthMiddleware.js line 21

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

backend/middlewares/farmerauthMiddleware.js line 22

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

backend/models/OrderModel.js line 2

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

backend/server.js line 25

  • Start Line: 25
  • End Line: 25
  • Message: 'fileURLToPath' 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 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 60 in backend/controllers/DLEmailController.js

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

backend/controllers/DLEmailController.js#L60

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

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

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

backend/controllers/DLOcontroller.js#L166

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

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 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 21 in backend/middlewares/farmerauthMiddleware.js

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

backend/middlewares/farmerauthMiddleware.js#L21

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

Check failure on line 22 in backend/middlewares/farmerauthMiddleware.js

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

backend/middlewares/farmerauthMiddleware.js#L22

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

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 25 in backend/server.js

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

backend/server.js#L25

[no-unused-vars] 'fileURLToPath' 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.