# conventional-changelog/commitlint

📓 Lint commit messages

Repository: https://github.com/conventional-changelog/commitlint
Canonical: https://ross.abutalabs.com/products/commitlint
Homepage: https://commitlint.js.org
Language: TypeScript
License: MIT
License Family: permissive
Topics: git, commit, lint, conventions
Last push: 2026-08-26T17:19:43+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 97, longevity 100
- inputs: {"age_days": 3855, "days_push": 7, "days_rel": 20, "gap_med": 16, "n_releases_24m": 30}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 18702, forks 969 (observed 2026-08-28T04:11:27.027678+00:00)

## What it is
commitlint is a CLI tool and library that lints git commit messages against the conventional commit format, with shareable npm-based configurations. It integrates with git hooks (e.g., husky) and CI pipelines to enforce commit message conventions.

## Use cases
- enforce conventional commit message format in a repo
- lint commit messages in CI pipelines
- validate commit messages on git commit with husky hooks
- share commit message rules across projects via npm packages
- customize allowed commit types and scopes for a team

## When to choose
- your team follows conventional commits or wants automated changelogs
- you need consistent, machine-readable commit history
- you want commit message checks at commit time or in CI

## When to avoid
- your project does not use git or commit message conventions
- you only need changelog generation without message linting

## Facets
- artifact type: cli-tool
- maturity: active
- function: linter, cli, developer-tools, version-control, ci-cd
- domain: developer-tools, version-control
- platform: cli, cross-platform
- tags: conventional-commits, git-hooks, commit-messages, husky, shareable-configs, automation, command-line, nodejs

## Member repositories
- conventional-changelog/commitlint (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:27.027678+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:01:19.990817+00:00, confidence not recorded.
  - readme: https://github.com/conventional-changelog/commitlint (fetched 2026-08-28T04:11:27.027678+00:00, sha af23ae34662b)
  - homepage: https://commitlint.js.org (fetched 2026-08-29T07:59:41.369947+00:00, sha 4380bf932b91)
  - site_page: https://commitlint.js.org/guides/getting-started.html (fetched 2026-08-29T07:59:41.379420+00:00, sha 46b9d7cc9f08)
  - registry_npm: https://registry.npmjs.org/commitlint (fetched 2026-08-29T07:59:41.383486+00:00, sha af98d491e11f)
  - site_page: https://commitlint.js.org/concepts/shareable-config.html (fetched 2026-08-29T07:59:41.381629+00:00, sha 68db8d5001e6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
