Skip to content

Commit 6364c48

Browse files
authored
feat: add more commit guidelines
1 parent bfa083a commit 6364c48

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

CONTRIBUTING.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,10 @@ While the prerequisites above must be satisfied prior to having your pull reques
130130

131131
### Git Commit Messages
132132

133-
- Use the present tense ("Add feature" not "Added feature")
134-
- Use the imperative mood ("Move cursor to..." not "Moves cursor to...")
133+
- Be descriptive ("feat: Add x, y, and z" not "added stuff")
134+
- Prefix all commits with `feat:`, `fix:`, `refactor:`, or `misc:` ("fix: Move cursor to..." not "Move cursor to...")
135+
- Use the present tense ("feat: Add x, y, and z" not "Added x, y, and z")
136+
- Use the imperative mood ("fix: Move cursor to..." not "fix: Moves cursor to...")
135137
- Limit the first line to 72 characters or less
136138
- Reference issues and pull requests liberally after the first line
137139

0 commit comments

Comments
 (0)