-
Notifications
You must be signed in to change notification settings - Fork 150
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
Question: Prevent pre-commit hook to continue on committing? #149
Comments
@3rd-Eden @mcollina @kriskowal @alexindigo would you have a suggestion? |
I don't know what library are you using, but it's not exiting with exit code 1. |
|
@mcollina my fault there's my |
I have also tried |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to prevent git/vim from opening when there's a lint warning/error.
Right now, when running
git commit
the pre-commit hook will run thelint
, and even though there are lint errors, it won't prevent the developer from committing the work. Can you suggest a solution?The text was updated successfully, but these errors were encountered: