Elestia Open Source Ratings
7.9

commitlint

A strong pick. 2nd of 10 git hooks and release tools.

commitlint checks commit messages against Conventional Commits or your own rules. It is the standard tool for that job in JavaScript, and it is a strong pick for any team that enforces a commit format. It does not run hooks or publish releases itself, so you pair it with Husky, Lefthook or simple-git-hooks, and with a release tool such as semantic-release.

Best for: Teams that enforce Conventional Commits locally and in CI, often to feed automated changelogs and releases.

WebsiteGitHubnpm

Scores

Overall7.9

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 7.5, likely 7.0 to 8.0

For linting commit messages it is the clear default, it is actively maintained, and it is safe. It does only one part of the category's job, and its value depends on whether a team adopts Conventional Commits. The Node 22 floor and volunteer-only upkeep keep it out of the top band.

GPT-6.2 Sol: 8.2, likely 7.1 to 9.1

commitlint is a strong pick for new projects that want to enforce Conventional Commits or a custom message policy. It fits alongside Husky for hook management, lint-staged for staged-file checks, and semantic-release for publishing. Active maintenance and real CI use support the recommendation, while the Node.js minimum and below-baseline adoption growth temper it.

Needed by many4.9

How many developers need a tool for this job?

Claude Opus 5.5: 5.0, likely 4.0 to 6.0

Only teams that enforce a commit format need it. That is a sizeable group, mostly teams that use Conventional Commits for automated releases, but far from every project. Within its category it covers just one slice of the hooks-and-release job.

GPT-6.2 Sol: 4.7, likely 3.5 to 6.0

Commit message rules can serve any Git repository, and the checks are especially useful when commit types drive changelogs or version bumps. Teams that enforce a convention only on squash-merge titles have less need to lint every commit. Available research measures public repositories and leaves the share of private JavaScript and TypeScript projects uncertain.

Helps a lot8.3

How well does it do the job for those who need it?

Claude Opus 5.5: 8.0, likely 7.0 to 8.5

It is mature and full-featured: configurable rules, shareable configs, TypeScript config files, monorepo scope helpers, custom parsers and CI ranges. No JavaScript peer does this job better. AI agents know its setup well. The limits are the Node 22 floor, a set of packages to install, and config-loading bugs that recent patches had to fix.

GPT-6.2 Sol: 8.6, likely 7.5 to 9.5

Version 21.2.4 combines a ready-made preset with typed configuration, rule plugins, parser overrides, and checks over Git ranges. Rule-specific errors and JSON output for the resolved config give coding agents a concrete way to check their work. The latest patch improved TypeScript config loading, but independent measurements of hook latency and agent success are sparse.

Holds up over time7.7

Will it still be a good choice in two years?

Claude Opus 5.5: 7.5, likely 6.5 to 8.5

Activity is steady: 519 commits, 21 releases, and a fix release about once a month in 2026. Issues are handled well, with 62 open against 658 closed. The project says it is not sponsored, so it rests on volunteer maintainers. Major versions come roughly once a year and bring Node-floor and output changes.

GPT-6.2 Sol: 7.8, likely 6.5 to 8.8

The repository recorded 519 commits and 21 releases in the past year, with fixes from several contributors. One maintainer published the recent GitHub releases, and long-term funding and backup publishing access are unclear. The v21 runtime and output changes add upgrade work, and a reported Docker configuration bug took about six months to reach a release.

Used widely7.1

How many use it, and is that growing?

Claude Opus 5.5: 7.5, likely 6.5 to 8.0

It has 62M downloads in 4 weeks and 173k dependent repos, so many projects choose it directly. The yearly ratio of about 3.2 is below the 4.1 median, but it is on par with Husky and lint-staged, so its share is stable rather than growing. Project templates inflate the downloads somewhat.

  • npm downloadsLast4Weeks: 62.1M vs 19.3M a year ago, ratio about 3.2
  • medianDownloadsRatio: Median 4.1, so it is slightly below the median
  • dependents.packages: 31k dependent npm packages

GPT-6.2 Sol: 6.7, likely 5.5 to 7.8

ecosyste.ms found about 173,000 dependent repositories and 31,000 dependent npm packages. The repository count trails Husky and lint-staged and exceeds semantic-release in the same dataset. Four-week downloads grew from 19.3 million to 62.1 million, or 3.22×, below the 4.1× catalog baseline and consistent with falling relative share. Repeat CI installs, partial repository coverage, and sparse social signals leave the number of new adopters uncertain.

  • dependents repos and packages: 173,254 dependent repositories and 30,958 dependent packages.
  • npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo, and medianDownloadsRatio: Downloads grew 3.22× against the 4.1× baseline.
  • peers dependentRepos: Husky and lint-staged lead on observed repositories.
  • github stars, bluesky posts, and hackerNews stories: 18,836 stars, one Bluesky post, and zero matched Hacker News stories.
Vouched for7.0

Who stands behind it being good?

Claude Opus 5.5: 6.5, likely 5.5 to 7.5

It is the commit linter that Husky-based setups, tutorials and release workflows reach for, and its dependent count is large. There is little current independent review, survey data or benchmark work, and Hacker News and Bluesky barely mention it. So validation rests mostly on broad adoption and ecosystem pairing.

GPT-6.2 Sol: 7.4, likely 6.2 to 8.5

FormatJS runs commitlint through Lefthook, and Rucio relies on it in CI. An independently maintained tooling catalog selected it after reviewing Rust alternatives and called out the Node.js requirement. Current evidence is stronger for real workflow use than for developer satisfaction or comparative performance.

Safe7.8

How safe is it to depend on?

Claude Opus 5.5: 8.0, likely 7.0 to 9.0

No advisories are on record, the licence is MIT, and it has 8 direct dependencies. A 2026 release replaced lodash with es-toolkit, which shrinks the tree. No Scorecard data is available, and it ships as many @commitlint packages, which keeps the range open. It usually runs only as a dev dependency.

GPT-6.2 Sol: 7.5, likely 6.1 to 8.5

The CLI uses the permissive MIT license, has eight direct dependencies, and has zero advisories in the supplied OSV data. The project runs a weekly dependency audit and has shipped security updates for dependencies. The audit is non-blocking, GitHub shows no published security policy, and npm publishing controls and release provenance remain unverified. The missing OpenSSF Scorecard also limits confidence.

Good

  • It is the de facto commit-message linter, with a large shared config ecosystem (config-conventional, plus pnpm, lerna and workspace scope configs).
  • It works the same in a commit-msg hook and in CI with --from/--to, so local and pull-request checks match.
  • It is actively maintained, with 21 releases and over 500 commits in the past year.
  • It has no known advisories, 8 direct dependencies and an MIT licence.

Bad

  • Since v21 it requires Node 22.12 or later, which shuts out projects on older Node.
  • It only lints messages. You still need a hook manager and a release tool.
  • Its run of major versions has brought config-loading and output-format changes that teams must follow.
  • It is run by volunteers with no sponsorship, so it depends on a few maintainers.

The numbers

npm downloads, 4 weeks
62M ×3.2 in a year
GitHub stars
19k
Commits, 12 months
519
npm version
21.2.4 Oct 2026
Versions, 12 months
20
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
None
Licence
MIT

Read on 21 November 2026 from GitHub (conventional-changelog/commitlint), npm (@commitlint/cli), OSV and the OpenSSF Scorecard.

Git hooks and release tools

  1. 7.9lint-staged
  2. 7.9commitlint
  3. 7.6Lefthook
  4. 7.6semantic-release
  5. 7.1release-it
  6. 7.1Husky
  7. 7.0release-please
  8. 6.4bumpp
  9. 6.3np
  10. 6.1simple-git-hooks
Compare all 10 on six scores