-
Notifications
You must be signed in to change notification settings - Fork 0
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
[CLOSED] add husky to prevent pushing failing code #11155
Comments
Comment by ficristo I like to prevent bad commits. I only wonder if this could be a contributor barrier. |
Comment by ingorichter I think everything that keeps the code base clean and tidy is worth a look and try. I don't think that the additional check doesn't introduce a barrier for contributors. |
Comment by petetnt I just ran into |
Comment by swmitra I just love the idea of this check |
Issue by zaggino
Monday Mar 06, 2017 at 02:16 GMT
Originally opened as adobe/brackets#13151
this is just two lines, but it makes a significant change, consider it a proposal
basically, when you do
git push
, husky runsprepush
script and if it fails, it won't allow you to push unless you override it with a command line parameteradvantages are clear, people won't push any code that doesn't fit our settings, while disadvantage is that it slows down the push (but how often you push anyway?)
zaggino included the following code: https://github.com/adobe/brackets/pull/13151/commits
The text was updated successfully, but these errors were encountered: