Skip to content

Scope Max Length

  • Default:
    • Level: ignore

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

rules:
scope-max-length:
level: error
length: 5

❌ Bad

Terminal window
feat(super important product): add new flag

✅ Good

Terminal window
feat(cli): add new flag

Example

Description length should be less than or equal to 5

rules:
scope-max-length:
level: error
length: 5