conventional-changelog/commitlint

Support `--path` option

开放

#3,104 创建于 2022年4月4日

 (4 条评论) (0 个反应) (0 位负责人)TypeScript (896 个派生)batch import
featurehelp wanted

仓库指标

星标
 (15,497 个星标)
PR 合并指标
 (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)

贡献者指南