Skip to content
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

feat(rules): allow body-case to accept an array of cases #2671

Merged

Conversation

AdeAttwood
Copy link
Member

To keep the API consistent with all of the case rules the body-case rule now
accepts an array of cases like all of the other case types

Ref: #2631

Description

Implement the body-case rule to accept an array of cases basically the same as the subject-case

This is to go along with #2670 that adds the type for this, but is not currently implemented.

To keep the API consistent with all of the case rules the `body-case` rule now
accepts an array of cases like all of the other case types

Ref: conventional-changelog#2631
Copy link
Contributor

@chanceaclark chanceaclark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For what it's worth, lgtm

@AdeAttwood AdeAttwood merged commit 5383c9e into conventional-changelog:master Jul 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants