commitlint
commitlint copied to clipboard
fix(prompt): prompt does not respect [body-leading-blank] setting
Description
My attempt to fix the prompt not respecting body-leading-blank setting issue in #3826 .
Types of changes
- [X] 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.
- [X] All new and existing tests passed.
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.
Any way to add add a test for this?: https://github.com/conventional-changelog/commitlint/blob/88cb735e96f05ad3a998356c95eb00527e54bb9f/%40commitlint/prompt/src/input.test.ts
Thx @weixinwu !