-
Notifications
You must be signed in to change notification settings - Fork 913
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request: Support Multiple Cases for commit-scope
#307
Labels
Comments
SimeonC
pushed a commit
to SimeonC/commitlint
that referenced
this issue
Mar 27, 2018
As per issue conventional-changelog#307 port the logic from subject-case for array definitions over to scope-case and type-case.
5 tasks
I raised a PR to add this feature in for |
marionebl
pushed a commit
that referenced
this issue
May 1, 2018
As per issue #307 port the logic from subject-case for array definitions over to scope-case and type-case.
Just to port over the comment from the PR - this is fixed in 6.2.0. |
@SimeonC so can it be closed? |
7 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current Behavior
Currently it is only possible to choose a single item from the following list:
However it would be great to be able to choose a subset. For example we would like to restrict scope to either
kebab-case
orcamel-case
(because we use function names as scope sometimes). At present our only option is to disable the rule entirely.Possible Solution
Allow multiple casings to be selected:
This could also apply to
type-case
andsubject-case
.The text was updated successfully, but these errors were encountered: