ramsey / conventional-commits

:yo_yo: A PHP library for creating and validating commit messages according to the Conventional Commits specification. Includes a CaptainHook plugin!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: scopeCase option that will compare to scopes with case sensitivity

iliubinskii opened this issue · comments

My feature title

"case-sensitive-match" option for scopeCase.

Background/problem

When I provide "scopes" array I prefer scope to be checked case sensitively.

I could use "kebab" scopeCase, but I want to use scopes with dots in some cases.

Proposal/solution

"case-sensitive-match" option for scopeCase.

Alternatives

Allow "scopeCase" to accept array, e.g.:

{
  "scopeCase": ["dot", "kebab"]
}

Additional context