Skip to content

Commit

Permalink
build(commitlint): Improve max-lengh rules
Browse files Browse the repository at this point in the history
  • Loading branch information
denysdovhan committed May 26, 2022
1 parent 1a72093 commit a986dd6
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{
"extends": ["@commitlint/config-conventional"],
"rules": {
"subject-case": [2, "always", ["lower-case", "sentence-case"]],
"body-max-line-length": [2, "always", "Infinity"]
"subject-case": [
2,
"always",
["lower-case", "sentence-case", "pascal-case", "start-case"]
],
"header-max-length": [2, "always", "Infinity"],
"body-max-line-length": [2, "always", "Infinity"],
"footer-max-line-length": [2, "always", "Infinity"]
}
}

0 comments on commit a986dd6

Please sign in to comment.