conventional-changelog/commitlint

Support `--path` option

Open

#3.104 aberto em 4 de abr. de 2022

Ver no GitHub
 (4 comments) (0 reactions) (0 assignees)TypeScript (896 forks)batch import
featurehelp wanted

Métricas do repositório

Stars
 (15.497 stars)
Métricas de merge de PR
 (Mesclagem média 5d 19h) (65 fundiu PRs em 30d)

Description

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)

Guia do colaborador