Skip to content

add pre commit hook and lint on github action #4

add pre commit hook and lint on github action

add pre commit hook and lint on github action #4

Triggered via pull request August 19, 2023 14:42
Status Failure
Total duration 38s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Linting: controllers/erpControllers/adminController.js#L3
'getOne' is assigned a value but never used
Linting: controllers/erpControllers/authJwtController.js#L3
'stubFalse' is assigned a value but never used
Linting: controllers/erpControllers/authJwtController.js#L141
'result' is assigned a value but never used
Linting: controllers/erpControllers/mailInvoiceController.js#L11
'sendMail' is not defined
Linting: controllers/erpControllers/orderFormController.js#L3
'custom' is assigned a value but never used
Linting: controllers/erpControllers/orderFormController.js#L22
'items' is assigned a value but never used
Linting: controllers/erpControllers/orderFormController.js#L103
'items' is assigned a value but never used
Linting: controllers/erpControllers/paymentInvoiceController.js#L58
'invoiceId' is assigned a value but never used
Linting: controllers/erpControllers/paymentInvoiceController.js#L86
'invoiceUpdated' is assigned a value but never used
Linting: controllers/erpControllers/paymentInvoiceController.js#L129
'invoiceId' is assigned a value but never used
Linting
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/