New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@spellbookx/commitlint-config

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@spellbookx/commitlint-config

spellbookx commitlint shared config

latest
Source
npmnpm
Version
0.22.16
Version published
Maintainers
1
Created
Source

@spellbookx/commitlint-config

Shared Commitlint configuration — standardizing commit message formatting across JS/TS projects.
Conventional commits, interactive prompts, and multi-scope support included.
Clean. Opinionated. Always consistent.

Table of Content

  • Features
  • Install
  • Usage
  • With CLI
  • With Lefthook
  • Resources
  • License

Features

  • Base Rules

    • Enforces Conventional Commits style.
    • Supported commit types:
      • feat → A new feature
      • fix → A bug fix
      • docs → Documentation only changes
      • style → Code style changes without functional impact
      • refactor → Code refactoring (no feature or fix)
      • perf → Performance improvements
      • test → Adding or correcting tests
      • build → Changes affecting the build system or dependencies
      • ci → Changes to CI configuration
      • chore → Miscellaneous chores
      • revert → Reverts a previous commit
    • Enforces:
      • Scope case: kebab-case
      • Subject cannot be empty
      • Subject case: sentence-case
      • No full stop at the end of subject
      • Header max length: 72
      • Body and footer max line length: 100
  • Interactive Prompt

    • Multi-scope support enabled
    • Scope separator: ,
    • Guided questions for type, scope, subject, body, breaking changes, and issues affected
    • Emoji and title per commit type
    • Uses cz for interactive commits (npx cz)
  • Parser Preset

    • Uses conventional-changelog-conventionalcommits
    • Supports multi-scope commit messages:
      type(scope1,scope2): subject
      

Installation

npm install -g commitizen cz-git
npm install -D commitizen cz-git conventional-changelog-conventionalcommits @commitlint/cli @commitlint/config-conventional @spellbookx/commitlint-config

or

pnpm add -g commitizen cz-git
pnpm add -D commitizen cz-git conventional-changelog-conventionalcommits @commitlint/cli @commitlint/config-conventional @spellbookx/commitlint-config

or

yarn global add commitizen cz-git
yarn add -D commitizen cz-git conventional-changelog-conventionalcommits @commitlint/cli @commitlint/config-conventional @spellbookx/commitlint-config

or

bun add -g commitizen cz-git
bun add -D commitizen cz-git conventional-changelog-conventionalcommits @commitlint/cli @commitlint/config-conventional @spellbookx/commitlint-config

Usage

Create a commitlint.config.mjs file at your project root:

export default {
  extends: ['@spellbookx/commitlint-config'],
};

Create a .czrc file at your project root:

{
  "path": "cz-git"
}

Add these properties to your root package.json:

{
  "config": {
    "commitizen": {
      "path": "git-cz"
    }
  }
}

With CLI

Interactive commits using Commitizen:

npx cz

With Lefthook

Configure a lefthook.yml in your project root:

commit-msg:
  commands:
    lint-commit-msg:
      run: npx commitlint --verbose --edit {1}

Commitlint will automatically validate commit messages on each commit. Use cz to create commits interactively.

Resources

License

This project is licensed under the MIT License.

Copyright (c) 2025 Davide Di Criscito

For the full details, see the LICENSE file.

Keywords

commitlint

FAQs

Package last updated on 11 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts