Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .changeset/drop-node-18-20.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
'@benhigham/commitlint-config': major
---

- Drop support for Node.js 18 and 20 — minimum version is now 22.15.0
- Node 18 reached EOL April 2025; Node 20 EOLs October 2026
- Drop support for Node.js 18 and 20 — minimum version is now 22
- Node 18 reached EOL April 2025; Node 20 EOLs April 2026
2 changes: 1 addition & 1 deletion .changeset/remove-atom-parser-preset.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ parser to match Atom-style headers (`:emoji: description`), not
conventional commits. This was a latent bug that had no visible effect
in commitlint v19 due to fallback behaviour in the old parser.

In commitlint v20.4.0, `conventional-commits-parser` was upgraded from
In commitlint v20, `conventional-commits-parser` was upgraded from
v5 to v6 (which uses a new `CommitParser` class with no fallback). The
atom preset's header pattern never matches conventional commit messages,
causing `type` and `subject` to always be empty — breaking all linting.
Expand Down
7 changes: 7 additions & 0 deletions .changeset/v20-migration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@benhigham/commitlint-config': major
---

- Bump `@commitlint/config-conventional` and `@commitlint/format` from v19 to v20
- Bump `@commitlint/cli` peer dependency from `>=19.0.0` to `>=20.0.0`
- Update all dependencies to latest versions
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ My personal [commitlint](https://commitlint.js.org) configuration based on the [

- Based on `@commitlint/config-conventional`
- Provides consistent, structured commit messages
- Integrates with Atom-style changelogs
- Uses `@commitlint/format` for formatted output
- Pre-configured formatting rules

## Installation
Expand Down Expand Up @@ -91,8 +91,8 @@ This configuration enforces the [Conventional Commits](https://www.conventionalc

## Requirements

- Node.js 22.15.x or higher
- [commitlint](https://commitlint.js.org) 19.x
- Node.js 22 or higher
- [commitlint](https://commitlint.js.org) 20.x or higher

## License

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
"exports": "./src/index.js",
"sideEffects": false,
"engines": {
"node": ">=22.15.0"
"node": ">=22"
},
"packageManager": "pnpm@10.15.0",
"packageManager": "pnpm@10.32.1",
"scripts": {
"format": "prettier --write .",
"format:check": "prettier --check .",
Expand Down
Loading