-
Notifications
You must be signed in to change notification settings - Fork 394
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
chore: 🤖 run lint-staged on pre-commit hook #790
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@theashraf only a few things left to address in #790 (review) and #790 (review). Do you have time to finish this? I can do it if not, no worries. Thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks pretty good! Thanks a lot.
Just waiting to see if we can keep the --bail
behavior pretty-quick
had as discussed in #790 (comment).
Otherwise, we may have to settle for including a git add
task (the developer would not realize that his code was automatically reformatted)... Would this be OK @shcheklein, @iAdramelk?
@jorgeorpinel I think that using |
Thanks Alexey. Agree with you again. Let's just see if |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes are all good. Thanks again @theashraf!
But not ready to merge just yet. Waiting on an update. See my #790 (comment) above.
I'll keep an eye on this.
This comment has been minimized.
This comment has been minimized.
UDPATE: The |
So unfortunately the |
p.s. apologies to @theashraf who was great at submitting this PR. This is very rare that we don't end up merging them, especially when they come from an open issue (which I'm closing for now, BTW). Abdelrahman, if you're interested in any other issue please feel free to check with me or anyone on the team (#dev-docs channel of our chat) before having a go just so we double check the issue validity. Again, this situation is very rare, in fact it's the first time it happens that I'm aware. But still, sorry! |
Closing this, @jorgeorpinel , right? |
OK in that case I'll reopen the issue and relabel it. I guess that makes more sense. |
pretty-quick
frompre-commit
hooks and replace it withlint-staged
lint-staged
linters for.js, .json, .md
filescloses #788