You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
⧗ input: feat: some feature (PREFIX-123)
✖ references may not be empty [references-empty]
✖ found 1 problems, 0 warnings
ⓘ Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint
Steps to Reproduce
.commitlintrc.json
with the following contentsecho "feat: some feature (PREFIX-123)" | npx commitlint
and observe how an error for empty references is thrown.npx commitlint --print-config
and observe howparserPreset.parserOpts.issuePrefixes
is[ '#' ]
.With a
commitlint.config.js
this does not happen.Current Behavior
see above.
Expected Behavior
It should correctly pick up
parserPreset
from the JSON configuration.Affected packages
Possible Solution
No response
Context
No response
commitlint --version
@commitlint/[email protected]
git --version
2.45.2
node --version
v20.13.1
The text was updated successfully, but these errors were encountered: