You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Is it possible to require a scope(s) for select types and disallow for others? I have the following spec, and we want to force people to use scopes, for example, with feat but not with ci.
requireScope: truedisallowScopes: | ci chore docs refactor test
Should be okay:
feat(scope1): message
ci: message
Shouldn't be okay:
feat: message
ci(core): message
Describe the solution you'd like
When disallowScopes is specified, requireScope should not force to use scopes for given types.
Describe alternatives you've considered
Any workaround would be appreciated.
The text was updated successfully, but these errors were encountered:
sehilyi
changed the title
requireScope for only select typesrequireScope for only select types
Aug 16, 2023
Is your feature request related to a problem? Please describe.
Is it possible to require a scope(s) for select types and disallow for others? I have the following spec, and we want to force people to use scopes, for example, with
feat
but not withci
.Should be okay:
Shouldn't be okay:
Describe the solution you'd like
When
disallowScopes
is specified,requireScope
should not force to use scopes for given types.Describe alternatives you've considered
Any workaround would be appreciated.
The text was updated successfully, but these errors were encountered: