1.0.0 • Published 1 year ago

@rnx-kit/commitlint-lite v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@rnx-kit/commitlint-lite

Build npm version

Lint commit message according to Conventional Commits.

Usage

Pipe the commit message to @rnx-kit/commitlint-lite:

echo 'ci: lint commit messages' | npx @rnx-kit/commitlint-lite

Example: In a PR, only the first commit's message needs to conform if you always squash before merging:

git log --format='%s' origin/trunk..HEAD | tail -1 | npx @rnx-kit/commitlint-lite
1.0.0

1 year ago