Just encountered an issue in the CI workflow for gh-action. Eslint is not present in our repository pkg-manager at all.
Need to install it and make sure the CI workflow executes without critical errors.
Solution
Install ESLint first, npm i -D eslint and init eslint for this project by executing its cli command as npx eslint --init
Choose all the necessary configurations and customize the config file when needed.
Check and commit. Push the updates in this ticket branch *-fix-eslint-ci
Make a PR and MR it if all passes and fulfills all of the requirements.
[CI/CD] Issue with Eslint in linter-ci
Problem:
Just encountered an issue in the
CI
workflow forgh-action
. Eslint is not present in our repository pkg-manager at all. Need to install it and make sure theCI
workflow executes without critical errors.Solution
ESLint
first,npm i -D eslint
and init eslint for this project by executing its cli command asnpx eslint --init
*-fix-eslint-ci
Thanks ❤️