rnx-kit/incubator/commitlint-lite
renovate[bot] 57013d2191
fix(deps): update eslint (major) (#3394)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>
2024-10-17 14:41:52 +00:00
..
src chore(deps): update dependency @types/node to v20.12.11 (#3138) 2024-05-13 09:47:51 +00:00
test test: migrate more tests to Node test runner (#3252) 2024-07-30 18:45:19 +02:00
CHANGELOG.md RELEASING: Releasing 44 package(s) (#3342) 2024-09-11 08:59:50 +02:00
README.md feat(commitlint-lite): lint commit messages (#2306) 2023-03-21 11:49:38 +00:00
eslint.config.js chore: fix `lint` command to include more files (#2865) 2023-11-30 18:02:19 +01:00
package.json fix(deps): update eslint (major) (#3394) 2024-10-17 14:41:52 +00:00
tsconfig.json feat(tsconfig): base TypeScript configs for working with Node (#2886) 2023-12-18 12:05:07 +01:00

README.md

@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