chore: enforce commit message conventions (#6577)

* chore: enforce commit message conventions

* docs: add link to contributing in README
This commit is contained in:
Tim Lai
2020-10-29 16:11:38 -07:00
committed by GitHub
parent 7a0c1ea556
commit 9b0ff32364
6 changed files with 1417 additions and 0 deletions

25
.commitlintrc.json Normal file
View File

@@ -0,0 +1,25 @@
{
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"header-max-length": [
2,
"always",
69
],
"scope-case": [
2,
"always",
[
"camel-case",
"kebab-case",
"upper-case"
]
],
"subject-case": [
0,
"always"
]
}
}