Type
- Default:
ignore
In this example, we assumed that you have a project with the following types:
rules: type: level: error options: - feat - fix
❌ Bad
chore(cli): fix typo=> type chore is not allowed. Only ["feat", "fix"] are allowed
✅ Good
fix(api): fix typo
Example
Only allow types feat
and fix
rules: type: level: error options: - api - web
Disallow all types
rules: type: level: error options: [] # or [""] type-empty: level: ignore