Skip to content

Scope format

  • Default:ignore

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

rules:
scope-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

Scope must start with a lower letter

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