Skip to content

Type Max Length

  • Default:
    • Level: ignore

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

rules:
type-max-length:
level: error
length: 6

❌ Bad

Terminal window
feature-for-future(cli): add new flag

✅ Good

Terminal window
feat(cli): add new flag

Example

Type length should be less than or equal to 72

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