chore: enforce commit message conventions (#6577)
* chore: enforce commit message conventions * docs: add link to contributing in README
This commit is contained in:
25
.commitlintrc.json
Normal file
25
.commitlintrc.json
Normal 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"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user