commitlint-plugin-spend

1.0.1 • Public • Published

commitlint-plugin-spend

Commitlint plugin to enforce the use of spend directives in commit messages.

Available rules

spend

Usage

  1. Install the plugin:
npm i -D commitlint-plugin-spend
yarn add -D commitlint-plugin-spend
pnpm add -D commitlint-plugin-spend
bun add -d commitlint-plugin-spend
  1. Add the plugin to your commitlint configuration:
{
  "extends": ["@commitlint/config-conventional"],
  "plugins": ["commitlint-plugin-spend"]
}
  1. Configure the spend rule in your commitlint configuration:
{
  "rules": {
    "spend": [2, "always"]
  }
}

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    2
  • 1.0.0
    0

Package Sidebar

Install

npm i commitlint-plugin-spend

Weekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

13.1 kB

Total Files

12

Last publish

Collaborators

  • nico-i