Convenience wrapper around @commitlint/cli for linting all relevant commits for a change or PR on Circle CI, version 1.0.0. This package is specifically for Circle CI, providing zero-configuration linting. Its key differentiator is the automatic detection of the commit range based on Circle CI environment variables (e.g., CIRCLE_PULL_REQUESTS, CIRCLE_SHA1). It requires @commitlint/cli ^7.0.0 as a peer dependency. Ship TypeScript types. One of the few commitlint integrations tailored to Circle CI, but note it is not actively maintained (last release in 2019).
npm install commitlint-circleNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Configures Circle CI to run commitlint-circle, which lints all commits in the current build or PR.
Consider using @commitlint/config-conventional directly with commitlint's built-in Circle CI support, or use commitlint GitHub action.
Only run in Circle CI environment; for local testing, set environment variables like CIRCLE_SHA1, CIRCLE_PULL_REQUESTS manually.
Ensure @commitlint/cli version satisfies the peer dependency range (^7.0.0).
Run `npm install @commitlint/cli@^7.0.0 --save-dev` or `yarn add @commitlint/cli@^7.0.0 --dev`
Ensure you are running inside a Circle CI job, or set the necessary environment variables for testing.