A quick look at some of the main points:
- MUST type, subject and footer
- SHOULD scope
- MUST use footer for reference (eg. ticket id) ; MUST NOT use scope for reference
- SHOULD use markdown link format in case of no GitLab integration (eg. generated URL link)
Examples:
# Wrong type & bad desc (past tense)
- fix(button): initiated component …
+ feat(button): init component …
# Ref & bad desc
- fix(FOO-666): fix rule
+ fix(auth): add required oauth 2 configuration
+
+ Refs: [FOO-666](https://…/FOO-666)
- .gitignore (MUST)
- .gitattributes (SHOULD)
- Commitlint (MUST)
- Husky (MUST)
- Config
- eg.
.husky/{pre-commit | pre-push…}
- Commitizen (SHOULD)