conventional-changelog/commitlint

Rule does not work with #ids

Open

#3,615 创建于 2023年5月31日

在 GitHub 查看
 (12 评论) (0 反应) (0 负责人)TypeScript (896 fork)batch import
bughelp wanted

仓库指标

Star
 (15,497 star)
PR 合并指标
 (平均合并 12小时 56分钟) (30 天内合并 52 个 PR)

描述

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

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

贡献者指南