🌐
Commitlint
commitlint.js.org
commitlint
To get the most out of commitlint you'll want to automate it in your project lifecycle.
Guides
Node v24 changes the way that modules are loaded, and this includes the commitlint config file. If your project does not contain a package.json, commitlint may fail to load the config, resulting in a Please add rules to your commitlint.config.js error message.
Reference
You can add a commitlint field in package.json (or package.yaml) with an object that follows the below structure.
🌐
GitHub
github.com › conventional-changelog › commitlint
GitHub - conventional-changelog/commitlint: 📓 Lint commit messages
Node v24 changes the way that modules are loaded, and this includes the commitlint config file. If your project does not contain a package.json, commitlint may fail to load the config, resulting in a Please add rules to your commitlint.config.js error message.
Starred by 18.5K users
Forked by 965 users
Languages   TypeScript 92.2% | JavaScript 7.8%
Discussions

What are your thoughts on "commitLint" being code smell?
Not going to read that entire post. Quality checks are normally handled in your CI/CD process. I'd never do that though git hooks. Sounds like this was written by someone who hasn't worked on large codebases where there's 5 or so quality tools that get triggered. Git hooks run locally and can easily be bypassed. Also commits simply aren't the right spot to "block" contributions. You want to prevent merging to master on stuff that's "not okay". If I want to commit and push my shit on a Friday, I should be able to, even if it doesn't compile. That's what branches are for after all. Edit: this person is spot on, they're right. More on reddit.com
🌐 r/ExperiencedDevs
37
0
January 15, 2025
Minimal commit message linter for the sloppy you
Something you may want to check out is Glint , it’ll help you build your commit messages in this style rather than lint & reject. Note: I am an infrequent and very minor contributor, but it’s a tool I’ve really enjoyed. More on reddit.com
🌐 r/git
7
1
February 7, 2022
Implement git hooks using husky with commitlint in NextJs - Improve Code Quality by Pre-Commit Checks and Early Bug Detection
Everything about enforcing code quality in a git hook instead of in CI/CD is a really fragrant code smell and runs counter to best git practice. I'm convinced the only reason it's so popular in the Node community is because they don't understand CI or git correctly. The idea of commitlint enforcing ... More on reddit.com
🌐 r/programming
10
0
February 13, 2024
Automating Releases in GitHub with Conventional Commits
Interesting article. I also use commitizen More on reddit.com
🌐 r/git
1
4
March 26, 2024
🌐
npm
npmjs.com › package › commitlint
commitlint - npm
March 15, 2026 - Lint your commit messages. Latest version: 20.5.0, last published: a month ago. Start using commitlint in your project by running `npm i commitlint`. There are 121 other projects in the npm registry using commitlint.
      » npm install commitlint
    
Published   Mar 15, 2026
Version   20.5.0
🌐
Reddit
reddit.com › r/experienceddevs › what are your thoughts on "commitlint" being code smell?
r/ExperiencedDevs on Reddit: What are your thoughts on "commitLint" being code smell?
January 15, 2025 - Implement git hooks using husky with commitlint in NextJs - Improve Code Quality by Pre-Commit Checks and Early Bug Detection
🌐
Visual Studio Marketplace
marketplace.visualstudio.com › items
commitlint - Visual Studio Marketplace
Extension for Visual Studio Code - Integrate commitlint into the VS Code commit editor
🌐
Conventional Commits
conventionalcommits.org › en › v1.0.0
Conventional Commits
types other than fix: and feat: are allowed, for example @commitlint/config-conventional (based on the Angular convention) recommends build:, chore:, ci:, docs:, style:, refactor:, perf:, test:, and others.
🌐
Medium
trishan9.medium.com › what-is-commitlint-why-to-use-how-to-setup-and-more-2832d50ccff3
What is Commitlint? Why to use? How to Setup and more | by Trishan Wagle | Medium
September 8, 2023 - What is Commitlint? Commitlint is a simple tool that lints your commit messages and makes sure they follow a set of rules. It runs as a…
Find elsewhere
🌐
Commitlint
commitlint.js.org › guides › getting-started.html
Getting started | commitlint
Install @commitlint/cli and a @commitlint/config-* / commitlint-config-* of your choice as devDependency and configure commitlint to use it.
🌐
Medium
medium.com › @the.sikandar.dev › how-to-set-up-commitlint-to-enforce-clean-git-commit-messages-9082cce5ca03
How to Set Up Commitlint to Enforce Clean Git Commit Messages | by Sikandar Dev | Medium
October 11, 2025 - Commitlint enforces rules on your commit messages, ensuring your team follows a standardized format such as Conventional Commits.
🌐
Yarn
classic.yarnpkg.com › en › package › commitlint
commitlint
Fast, reliable, and secure dependency management
🌐
HexDocs
hexdocs.pm › commitlint › Commitlint.html
Commitlint — commitlint v0.1.2
def deps do [ {:commitlint, "~> 0.1.2", runtime: false, only: :dev} ] end
🌐
npm
npmjs.com › package › @commitlint › cli
@commitlint/cli - npm
March 15, 2026 - Lint your commit messages. Latest version: 20.5.2, last published: 4 days ago. Start using @commitlint/cli in your project by running `npm i @commitlint/cli`. There are 1174 other projects in the npm registry using @commitlint/cli.
      » npm install @commitlint/cli
    
Published   Apr 25, 2026
Version   20.5.2
🌐
DEV Community
dev.to › thecharacterv › git-better-with-commitlint-and-conventional-commits-21pp
Git Better with Commitlint and Conventional Commits - DEV Community
May 26, 2023 - Test that the commit-msg hook is active by running git commit -m "fail: this is a failing commit message". Since fail is an invalid type based on Conventional Commits, the commitlint will prevent you from committing with this message.
🌐
PyPI
pypi.org › project › commitlint
commitlint
JavaScript is disabled in your browser. Please enable JavaScript to proceed · A required part of this site couldn’t load. This may be due to a browser extension, network issues, or browser settings. Please check your connection, disable any ad blockers, or try using a different browser
🌐
Lefthook
lefthook.dev › examples › commitlint.html
With commitlint - Lefthook Documentation
yarn add -D @commitlint/cli @commitlint/config-conventional # For commitzen yarn add -D commitizen cz-conventional-changelog
🌐
Homebrew
formulae.brew.sh › formula › commitlint
commitlint — Homebrew Formulae
brew install commitlint · Lint commit messages according to a commit convention · https://commitlint.js.org/#/ License: MIT · Development: Pull requests · Formula JSON API: /api/formula/commitlint.json · Formula code: commitlint.rb on GitHub · Bottle (binary package) installation support provided.
🌐
Theodorus Clarence
theodorusclarence.com › shorts › husky-commitlint-prettier
Husky, Commitlint, and Prettier Configuration | theodorusclarence.com
yarn add -D @commitlint/config-conventional @commitlint/cli · Then, create a new file in the husky folder · .husky/commit-msg · npx --no-install commitlint --edit "$1" Create commitlint.config.js, you don't need to override the rules if you don't want to ·
🌐
GitHub
github.com › hyiso › commitlint
GitHub - hyiso/commitlint: commitlint - Lint commit messages for Dart and Flutter projects · GitHub
Dart version commitlint - A tool to lint commit messages.
Starred by 16 users
Forked by 3 users
Languages   Dart 99.6% | Shell 0.4%
🌐
npm
npmjs.com › package › @commitlint › config-conventional
@commitlint/config-conventional - npm
March 15, 2026 - Shareable commitlint config enforcing conventional commits. Latest version: 20.5.0, last published: a month ago. Start using @commitlint/config-conventional in your project by running `npm i @commitlint/config-conventional`. There are 1374 other projects in the npm registry using ...
      » npm install @commitlint/config-conventional
    
Published   Mar 15, 2026
Version   20.5.0