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

Fix commitlint message style detection #5744

Merged
merged 3 commits into from
Oct 18, 2022

Conversation

deivid-rodriguez
Copy link
Contributor

We should not try to be too smart since there's too many different commitlint setups. Instead, it seems more sound to use the style of previous commits.

Also, I think commit message should default to use the configured prefix for development dependencies if prefix is configured, but prefix-development is not.

This is just a naive approach that works with bin/dry-run.rb but probably specs need fixing, etc.

Fixes #1666.

@deivid-rodriguez deivid-rodriguez force-pushed the deivid-rodriguez/commitlint-messages branch 3 times, most recently from 91ff710 to c317b7f Compare September 18, 2022 13:12
@deivid-rodriguez deivid-rodriguez marked this pull request as ready for review September 18, 2022 14:48
@deivid-rodriguez deivid-rodriguez requested a review from a team as a code owner September 18, 2022 14:48
@deivid-rodriguez deivid-rodriguez force-pushed the deivid-rodriguez/commitlint-messages branch 6 times, most recently from 2823cdb to 216d0a9 Compare October 17, 2022 13:02
@deivid-rodriguez deivid-rodriguez force-pushed the deivid-rodriguez/commitlint-messages branch from 216d0a9 to bb709f3 Compare October 18, 2022 08:09
@deivid-rodriguez deivid-rodriguez merged commit 5477548 into main Oct 18, 2022
@deivid-rodriguez deivid-rodriguez deleted the deivid-rodriguez/commitlint-messages branch October 18, 2022 10:51
@pavera pavera mentioned this pull request Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot configure commit message case to match commitlint
2 participants