It works the same for git-hooks after you clone the repo and run npm install your hooks will be ready for you. You can check this repository for example: git-hooks-example. After you clone this repo and run npm install and try to commit sth which doesn't fit my linter rules you will get an error if linter won't be able to auto-fix errors
Check my custom git-hooks directory and npm postinstall in packages.json.
It works the same for
git-hooks
after you clone the repo and runnpm install
your hooks will be ready for you. You can check this repository for example: git-hooks-example. After you clone this repo and runnpm install
and try to commit sth which doesn't fit my linter rules you will get an error if linter won't be able to auto-fix errorsVery nice! I didn't know you could do that