Closed gblejman closed 8 years ago
How is it better?
I actually switched to husky
quite recently. It supports any hooks. So I can do lint
on pre-commit and full validate
on pre-push.
Have a look at it, maybe you will like it better too
Husky sounds cool. Should we open another PR for that?
I think this one is ok.
The only "problem" I found with husky is that it does not override existing hooks. That is not really a problem, but when I did migration from pre-commit
to husky
I had to manually cleanup hooks dir before install.
Oh, I just could add pre-install npm script I guess...
Cool, if you're happy, feel free to merge. I don't have time to look at it in detail. =)
Thanks @nkbt I haven't used husky, seems good to also be able to split stages.. My initial concern was cleaning up those unused initial files created by pre-commit-hook
Fancy giving it a shot?
sure, i'll create a new PR for husky later today
Closed in favor of #38
@nkbt @ericelliott