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%
Commitlint
commitlint.js.org
commitlint
Lint commit messages
Commitlint
commitlint.js.org › reference › examples.html
Examples | commitlint
This example uses inline parserOpts to configure the parser to recognize custom issue prefixes (e.g. PROJ-123). The references-empty rule then enforces that every commit references a ticket. ... { // ... "commitlint": { "rules": { "references-empty": [2, "never"], }, "parserPreset": { "parserOpts": ...
Commitlint
commitlint.js.org › guides › ci-setup.html
Guide: CI Setup | commitlint
version: 2.1 executors: my-executor: docker: - image: cimg/node:current working_directory: ~/project jobs: setup: executor: my-executor steps: - checkout - restore_cache: key: lock-{{ checksum "package-lock.json" }} - run: name: Install dependencies command: npm install - save_cache: key: lock-{{ checksum "package-lock.json" }} paths: - node_modules - persist_to_workspace: root: ~/project paths: - node_modules lint_commit_message: executor: my-executor steps: - checkout - attach_workspace: at: ~/project - run: name: Define environment variable with latest commit's message command: | echo 'export COMMIT_MESSAGE=$(git log -1 --pretty=format:"%s")' >> $BASH_ENV source $BASH_ENV - run: name: Lint commit message command: echo "$COMMIT_MESSAGE" | npx commitlint workflows: version: 2.1 commit: jobs: - setup - lint_commit_message: requires: - setup
Commitlint
commitlint.js.org › reference › configuration.html
Configuration | commitlint
const Configuration = { /* * Resolve and load @commitlint/config-conventional from node_modules. * Referenced packages must be installed */ extends: ["@commitlint/config-conventional"], /* * Resolve and load conventional-changelog-atom from node_modules. * Referenced packages must be installed */ parserPreset: "conventional-changelog-atom", /* * Resolve and load @commitlint/format from node_modules.
Commitlint
commitlint.js.org › guides › local-setup.html
Guide: Local setup | commitlint
npm install --save-dev husky # husky@v9 npx husky init # husky@v8 or lower npx husky install # Add commit message linting to commit-msg hook echo "npx --no -- commitlint --edit \$1" > .husky/commit-msg
Commitlint
commitlint.js.org › guides › getting-started.html
Getting started | commitlint
# Here we use the node command to avoid encoding issue on Windows. node -e "fs.writeFileSync('commitlint.config.js', process.argv[1])" "export default { extends: ['@commitlint/config-conventional'] };"
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 - How to setup Commitlint in your project: Step 1: Install Commitlint ``` # Install and configure if needed npm install — save-dev @commitlint/{cli,config-conventional} # For Windows: npm install — save-dev @commitlint/config-conventional @commitlint/cli # Configure commitlint to use conventional config echo “module.exports = { extends: [‘@commitlint/config-conventional’] };” > commitlint.config.js ```
GitHub
github.com › conventionalcommit › commitlint
GitHub - conventionalcommit/commitlint: commitlint checks if your commit messages meets the conventional commit format · GitHub
February 22, 2026 - echo "fear: do not fear for commit message" | commitlint lint # ❌ type-enum: type 'fear' is not allowed, you can use one of [build chore ci docs feat fix merge perf refactor revert style test]
Starred by 86 users
Forked by 9 users
Languages Go 91.4% | Shell 8.6%
npm
npmjs.com › package › commitlint
commitlint - npm
March 15, 2026 - Alias of @commitlint/cli · conventional-changelog · commitlint · cli · npm i commitlint · github.com/conventional-changelog/commitlint · commitlint.js.org/ 581,206 · 20.5.0 · MIT · a month ago · marionebl · martinhelmut · escapedcat · bycedric · Analyze security with SocketCheck bundle sizeView package healthExplore dependencies ·
» npm install commitlint
Published Mar 15, 2026
Version 20.5.0
npm
npmjs.com › package › @commitlint › config-conventional
commitlint/config-conventional
March 15, 2026 - npm install --save-dev @commitlint/config-conventional @commitlint/cli echo "export default {extends: ['@commitlint/config-conventional']};" > commitlint.config.js
» npm install @commitlint/config-conventional
Published Mar 15, 2026
Version 20.5.0
HexDocs
hexdocs.pm › commitlint › Commitlint.html
Commitlint — commitlint v0.1.2
def deps do [ {:commitlint, "~> 0.1.2", runtime: false, only: :dev} ] end
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.
Commitlint
commitlint.io
Commitlint
We cannot provide a description for this page right now