mahabubx7 / akar

Akar is a typescript first schema validation library offering flexible, reusable schema for multi-purpose use cases
http://akar.js.org/
MIT License
2 stars 1 forks source link

[CI/CD] Issue with Eslint in linter-ci #1

Closed mahabubx7 closed 1 month ago

mahabubx7 commented 1 month ago

[CI/CD] Issue with Eslint in linter-ci

Problem:

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

  1. Install ESLint first, npm i -D eslint and init eslint for this project by executing its cli command as npx eslint --init
  2. Choose all the necessary configurations and customize the config file when needed.
  3. Check and commit. Push the updates in this ticket branch *-fix-eslint-ci
  4. Make a PR and MR it if all passes and fulfills all of the requirements.

Thanks ❤️