Skip to content

Commit 4adcbba

Browse files
Narwhal-fishLee-W
authored andcommitted
docs(config): add message length limit configuration option
1 parent 647e791 commit 4adcbba

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
@@ -110,6 +110,14 @@ Automatically retry failed commit when running `cz commit`. [Read more][retry_af
110110

111111
Disallow empty commit messages. Useful in CI. [Read more][allow_abort]
112112

113+
### `message_length_limit`
114+
115+
Type: `int`
116+
117+
Default: `0`
118+
119+
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.
120+
113121
### `allowed_prefixes`
114122

115123
- Type: `list`

0 commit comments

Comments
 (0)