Skip to content

Commit 3f55412

Browse files
Narwhal-fishLee-W
authored andcommitted
docs(config): add message length limit configuration option
1 parent f334af9 commit 3f55412

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/config.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,14 @@ Automatically retry failed commit when running `cz commit`. [Read more][retry_af
119119

120120
Disallow empty commit messages. Useful in CI. [Read more][allow_abort]
121121

122+
### `message_length_limit`
123+
124+
Type: `int`
125+
126+
Default: `0`
127+
128+
Maximum length of the commit message. Setting it to `0` disables the length limit. It can be overridden by the `-l/--message-length-limit` command line argument.
129+
122130
### `allowed_prefixes`
123131

124132
- Type: `list`

0 commit comments

Comments
 (0)