Skip to content

Commit ccd501c

Browse files
committed
Add commit message rules to CONTRIBUTING.md
1 parent d942c06 commit ccd501c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

CONTRIBUTING.md

+11
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,14 @@ Please file bug reports and feature requests to https://github.com/metosin/compo
1313
* Verify that all tests pass using ```lein midje```
1414
* Push your code to your fork of the repository
1515
* Make a Pull Request
16+
17+
## Commit messages
18+
19+
1. Separate subject from body with a blank line
20+
2. Limit the subject line to 50 characters
21+
3. Capitalize the subject line
22+
4. Do not end the subject line with a period
23+
5. Use the imperative mood in the subject line
24+
- "Add x", "Fix y", "Support z", "Remove x"
25+
6. Wrap the body at 72 characters
26+
7. Use the body to explain what and why vs. how

0 commit comments

Comments
 (0)