jorisroovers / gitlint

Linting for your git commit messages
http://jorisroovers.github.io/gitlint
MIT License
787 stars 99 forks source link

Conventional commits: allow restricting the scopes #543

Open papperlapapp opened 4 months ago

papperlapapp commented 4 months ago

This pull request adds another list option "scopes" to the conventional commits rule (CT1). It allows to restrict the used scopes to the ones configured. By default, the list is empty, meaning, there is no restriction on scopes.