mirror of
https://gitcode.com/gh_mirrors/se/Semi.Avalonia
synced 2026-04-10 03:06:35 +08:00
Fix commit convention: align subject line limit and casing with Conventional Commits spec
Agent-Logs-Url: https://github.com/irihitech/Semi.Avalonia/sessions/b699d4e5-4563-449e-b2ba-2c85fce56ca2 Co-authored-by: rabbitism <14807942+rabbitism@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
bb1330903f
commit
bf9feba96a
4
.github/COMMIT_CONVENTION.md
vendored
4
.github/COMMIT_CONVENTION.md
vendored
@@ -30,10 +30,10 @@ This project follows the [Conventional Commits](https://www.conventionalcommits.
|
||||
|
||||
## Rules
|
||||
|
||||
1. **Limit the subject line to 72 characters**
|
||||
1. **Limit the subject line to 50 characters** (72 character hard limit)
|
||||
2. **Use the imperative mood** in the subject line (e.g., "add feature" not "added feature")
|
||||
3. **Do not end the subject line with a period**
|
||||
4. **Capitalize the first letter** of the description
|
||||
4. **Use lowercase** for the description (e.g., "add feature" not "Add feature")
|
||||
5. **Separate subject from body with a blank line**
|
||||
6. **Wrap the body at 72 characters**
|
||||
7. **Use the body to explain what and why**, not how
|
||||
|
||||
Reference in New Issue
Block a user