conventional-changelog/commitlint

Support `--path` option

Open

#3,104 建立於 2022年4月4日

在 GitHub 查看
 (4 留言) (0 反應) (0 負責人)TypeScript (896 fork)batch import
featurehelp wanted

倉庫指標

Star
 (15,497 star)
PR 合併指標
 (平均合併 12小時 56分鐘) (30 天內合併 52 個 PR)

描述

In multi-package repo, I'd like to be able to use different commitlint configurations per package. Therefore with commitlint CLI I'd like to be able to validate commits that affect a given path only.

It'll be great if --path option is supported so we can narrow the list of validated commits to one affecting a specific directory (e.g. standard-version which generates changelog by retrieving commits supports path option, with commitlint it's not possible)

貢獻者指南