-
-
Notifications
You must be signed in to change notification settings - Fork 580
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
Improve commit messages #391
Comments
I'm unsure about some of the proposed types though. Most style and perf changes could go under fix/feat/refactor so they overlap quite a bit. Otherwise looks good to me. |
I took the types from https://github.com/angular/angular/blob/22b96b9/CONTRIBUTING.md#type
|
Such a rule sounds a bit too strict in my opinion. |
As I said, I'm not enforcing any strictness, just a guideline. Prefixing commits with a type helps loads with autogenerating the changelog, and going through the commit history in general.
Agreed, I've been better at doing this myself recently, which is partly what led me to also want this. |
Hm yeah being able to drop most |
Since we've started auto-generating changelogs I started looking into how other projects do it and many do so by enforcing a standard format for commit messages.
One prominent standard is Conventional Commits. A few examples:
Types I propose we use are:
fix
,feat
,build
,chore
,ci
,docs
,style
,refactor
,perf
,test
It's important that we strike a good balance. We don't want to discourage new contributors by being nitpicky. Worst case we can always clean up the changelog manually, but having at least most commit follow the convention would make things easier.
Related to #377
Thoughts @johan-bjareholt, @xylix?
The text was updated successfully, but these errors were encountered: