Skip to content

Body Max Length

  • Default:
    • Level: ignore

In this page, we will use the following commit message as an example.

rules:
body-max-length:
level: error
length: 4

❌ Bad

Terminal window
feat(cli): add new flag
Hello, I'm a body of the commit message.

✅ Good

Terminal window
feat(cli): add new flag
Hey.

Example

Body length should be less than or equal to 72

rules:
body-max-length:
level: error
length: 72