Skip to content

Type format

  • Default:ignore

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

rules:
type-format:
level: error
format: ^[a-z].*$

❌ Bad

Terminal window
Feat(cli): added a new flag

✅ Good

Terminal window
feat(cli): Added a new flag

Example

Type must start with a capital letter

rules:
type-format:
level: error
format: ^[a-z].*$