@rnx-kit/commitlint-lite

1.0.0 • Public • Published

@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

Readme

Keywords

none

Package Sidebar

Install

npm i @rnx-kit/commitlint-lite

Weekly Downloads

23

Version

1.0.0

License

MIT

Unpacked Size

10.4 kB

Total Files

18

Last publish

Collaborators

  • kelset
  • hansenyy
  • jasonvmorse
  • acoates
  • rnbot
  • tido64
  • rnsdkbot