ESLint config example
galexrt opened this issue · comments
I'm currently trying to use your example GitHub actions flows and the ESLint is failing (because of "no ESLint config file being found").
Do you have an example on how to get ESLint running in a new repo that is used for dnscontrol?
So far from researching it seems that I would need to use npm to create a package.json
in the repo that "points" to the correct folder.
Sorry, I missed this GitHub issue.
Have you tried creating a .eslintrc.yml
file in the root of the project?
For example:
env: {}
rules:
indent:
- error
- 4
linebreak-style:
- error
- unix
quotes:
- error
- double
semi:
- error
- always
Thanks, I'll try it out! For now, I'll close the issue here.