-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove defaut commit-msg setting #86
Comments
I think we should not set it if it has been removed manually. But setting the default value helps I think |
I agree that in some cases will help but in many cases I have run into, and this is the reason behind my question, had to perform clear installs of repos using One option to solve the issue is to split the module's behavior in two: a |
Setting the default value feels like overreach for me. I've installed pre-git in about five projects now and never wanted it. |
Wait, is it installing a hook even if this is a deep nested dependency? In other words, I am ok with it installing git hooks and adding If this is the case (I don't remember now), it is a bad bug = feature. |
Just tested - if you do NOT install |
pre-git should be modular and do one thing well. Commit message validation should be a separate package. |
Using
from each repo’s |
Same. |
When installing
pre-git
, a default setting for thecommit-msg
is set. Is there any way to prevent this behavior?In repos where no such a rule is applied to commit messages, the hook has to be manually disabled editing the
package.json
after install. Even doing that, the hook can be unintentionally re-enabled by reinstalling the package.Please advise. Thanks.
The text was updated successfully, but these errors were encountered: