CLI tool to lint commits in Azure Pipelines using commitlint. Current stable version is 1.0.5 (last updated December 2022, sporadically maintained). Requires @commitlint/cli >=7.0.0 as a peer dependency. Key differentiator: zero configuration needed for Azure Pipelines CI — automatically detects the correct commit range for pull requests and branches, simplifying setup compared to manually specifying commit ranges with commitlint directly.
npm install commitlint-azure-pipelines-cliNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Installs and runs commitlint for Azure Pipelines with zero config. Detects commit range based on PR or branch.
Ensure @commitlint/cli is installed and meets the minimum version: npm install @commitlint/cli@latest
Run the script from the repository root or use a full path.
Upgrade Node.js to version 10 or higher.
Create a valid .commitlintrc.json (or .commitlintrc.js) at the repository root. Example: { "extends": ["@commitlint/config-conventional"] }Run npm install --save-dev @commitlint/cli to install commitlint.
Install the full commitlint package: npm install --save-dev @commitlint/cli @commitlint/core