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(tooling): add commitlint #18402
Conversation
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.
A few notes:
-
Can we add a CI step to verify commits on PRs
-
I saw they have https://commitlint.js.org/#/guides-use-prompt that can replace what I'm used to from commitizen can you add a script to run it it would be super convenient.
-
Also we need to update the contributing guide to mention commits need to respect this format. & that there is a comand to help out
Side note: this also usually goes with a squashing approach so each PR only has one clean conventional commit. wdyt about it ?
Size Change: -4.36 kB (0%) Total Size: 1.47 MB
ℹ️ View Unchanged
|
I love squashing, so im all in for it. |
It won't run on every PR under checks, i've moved it to it's own Commitlint job – lmk your thoughts? |
@joshuaellis If you do this can you be nice and fix husky does not break on windows #16645 |
I think i might have done it, i just use |
b5ef57f
to
4dec71b
Compare
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.
Let's give it a try ✨
What does it do?
Why is it needed?