Automated linting for Able using https://github.com/ableco/eslint-config
How does it work?
It also installs
@arkweid/lefthook to copy a
lefthook.yml file to run ESLint and Prettier based on
@ableco/eslint-config configuration in a pre-commit stage.
In case any of these configuration files already exists, they should be updated manually to reflect the contents of the ones provided by
It will try to copy the following files:
.prettierrc, in that order)
In case any of these files already exists, it will shows the content of those files in the console's output and let you copy and paste those configurations manually.
In case your project already uses husky we recommend you to uninstall it by running:
npm uninstall husky
To remove any git hook previously added by husky.