I have set 'body-leading-blank': [2, 'always'] in commitlint.config.js, but when I create a commit with body using npx commit, it does not inserts a blank line before the body. When I run npx commitlint on that commit message, it correctly raises body must have leading blank line error.
Expected Behavior
Format the message according to the rules.
Current Behavior
commitlint/prompt-cli fails to create a commit message according to the rules.
I have set
'body-leading-blank': [2, 'always']
incommitlint.config.js
, but when I create a commit withbody
usingnpx commit
, it does not inserts a blank line before the body. When I runnpx commitlint
on that commit message, it correctly raisesbody must have leading blank line
error.Expected Behavior
Format the message according to the rules.
Current Behavior
commitlint/prompt-cli
fails to create a commit message according to the rules.Affected packages
Possible Solution
Steps to Reproduce (for bugs)
commitlint.config.js
```js ```Context
Your Environment
commitlint --version
git --version
node --version
@commitlint/prompt-cli