@captive/commitlint-config

2.1.12 • Public • Published

Captive Commitlint configuration (@captive/commitlint-config)

NPM Version License

Commitlint configuration presets

Features

  • ✅ Validates standard git message title

    <gitmoji>[optional scope:] <description>
    
    [optional body]
    
    [optional footer(s)]
    
  • 😀 Gitmoji support

Installation

npm install --save-dev @captive/commitlint-config

Usage

/package.json

{
  "commitlint": {
    "extends": ["@captive/commitlint-config"]
  }
}

Ensure the commitlint is setup on husky commit message hook (default .husky/commit-msg)

# <git_hooks_directory>/commit-msg

npm exec -- commitlint --edit $1

License

MIT © Julien Polo julien.polo@captive.fr

About Captive

captive

@captive/commitlint-config is maintained and funded by Captive. The names and logos for captive are trademarks of captive-studio.

We love open source software! See our other projects or hire us to design, develop, and grow your product.

Dependents (0)

Package Sidebar

Install

npm i @captive/commitlint-config

Weekly Downloads

1,110

Version

2.1.12

License

MIT

Unpacked Size

13.2 kB

Total Files

10

Last publish

Collaborators

  • cprodhomme
  • captive_owner
  • jpolo