conventional-changelog / commitlint

📓 Lint commit messages
https://commitlint.js.org
MIT License
16.94k stars 912 forks source link

fix(prompt): prompt does not respect [body-leading-blank] setting #4066

Closed weixinwu closed 6 months ago

weixinwu commented 6 months ago

Description

My attempt to fix the prompt not respecting body-leading-blank setting issue in #3826 .

Types of changes

Checklist:

codesandbox-ci[bot] commented 6 months ago

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 commented 6 months ago

Any way to add add a test for this?: https://github.com/conventional-changelog/commitlint/blob/88cb735e96f05ad3a998356c95eb00527e54bb9f/%40commitlint/prompt/src/input.test.ts

escapedcat commented 6 months ago

Thx @weixinwu !