conventional-changelog/commitlint

Support `--path` option

Aperta

#3104 aperta il 4 apr 2022

 (4 commenti) (0 reazioni) (0 assegnatari)TypeScript (896 fork)batch import
featurehelp wanted

Metriche repository

Star
 (15.497 stelle)
Metriche merge PR
 (Merge medio 12h 56m) (52 PR mergiate in 30 g)

Descrizione

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)

Guida contributor