Skip to content

feat(format): print full commit message for valid commits if -V#4026

Merged
escapedcat merged 1 commit intoconventional-changelog:masterfrom
weixinwu:feat/print-full-commit-for-valid-commit
Apr 19, 2024
Merged

feat(format): print full commit message for valid commits if -V#4026
escapedcat merged 1 commit intoconventional-changelog:masterfrom
weixinwu:feat/print-full-commit-for-valid-commit

Conversation

@weixinwu
Copy link
Copy Markdown
Contributor

Change the CLI to print full commit message including title, body and footer when the commit message is valid and --verbose.

Description

Motivation and Context

This addressed the issue mentioned in #3830.

How Has This Been Tested?

Test steps:

  1. create an valid commit with message title, body and footer
  2. run npx commitlint --from=HEAD~1 --verbose and validate that the full commit message is printed to the console.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@codesandbox-ci
Copy link
Copy Markdown

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@escapedcat
Copy link
Copy Markdown
Member

Thanks @weixinwu , will merge and release soonish

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.

2 participants