commitlint-config-spellbookx
v0.11.1
Published
A shareable Commitlint configuration for enforcing conventional commits.
Maintainers
Readme
commitlint-config-spellbookx
Shared Commitlint configuration for the Spellbookx project. This package ensures that all commits adhere to the Conventional Commits specification.
Description
This package provides a base commitlint configuration that:
- Extends the widely-used
@commitlint/config-conventional. - Dynamically generates commit scopes based on the packages present in the
@spellbookxmonorepo. - Includes pre-defined commit types with emojis for better readability.
- Offers a customized
commitizenprompt for an enhanced commit experience.
Why use this?
Using this package ensures consistent and readable commit messages across the entire project. This helps in:
- Automatically generating changelogs.
- Simplifying the release process.
- Improving the readability of the project's history.
Installation
Install the package using your favorite package manager:
npm
npm install --save-dev commitlint-config-spellbookx @commitlint/clipnpm
pnpm add -D commitlint-config-spellbookx @commitlint/cliyarn
yarn add -D commitlint-config-spellbookx @commitlint/clibun
bun add -d commitlint-config-spellbookx @commitlint/cliUsage
To use this configuration, create a commitlint.config.mjs file in your project's root and extend this package:
import config from 'commitlint-config-spellbookx';
export default config;For an interactive commit experience, you can use commitizen with cz-git. Update your package.json with the following configuration:
{
"scripts": {
"commit": "cz"
},
"config": {
"commitizen": {
"path": "cz-git"
}
}
}License
This project is licensed under the MIT License.
Copyright (c) 2026 Davide Di Criscito
For the full details, see the LICENSE file.
