There is one limitation which comes with this solution - all git hooks become source-controlled.
The whole idea having git-hooks out of source control under .git/hooks folder is to give flexibility for users/tools to install their own hooks without interfering with other repository contributors.
While this is definitely a corner case and in most cases users don't install their own hooks and don't use dev tools which do so, still it can be an issue. And Husky solution doesn't have this limitation.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
There is one limitation which comes with this solution - all git hooks become source-controlled.
The whole idea having git-hooks out of source control under
.git/hooks
folder is to give flexibility for users/tools to install their own hooks without interfering with other repository contributors.While this is definitely a corner case and in most cases users don't install their own hooks and don't use dev tools which do so, still it can be an issue. And Husky solution doesn't have this limitation.