conventional-changelog / conventional-changelog/commitlint

Rule does not work with #ids

Open
#3,615 12 comments 0 reactions 0 assignees View on GitHub
bug help wanted
Dominant language
TypeScript
Stars
18.7k
Forks
970
Avg merge
7h 33m
Merged PRs (30d)
49

Description

I was trying this utility in my project as we are planning to enforce conventional commit messages. It works nicely but I was pleasantly surprised when it started failing miserably. When I tried to commit with messages like ` git commit -m "#123 - test commit"` it does not throw any error. However when I run ` commitlint --from=HEAD~1 ` it shows error.

![Screenshot 2023-05-31 at 14 34 20](https://github.com/conventional-changelog/commitlint/assets/7930153/316133ab-6542-486c-82d9-c4f08eb007a4)

This is causing issues as the team is accustomed to `#ticket-id - message` pattern.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.