@captive/commitlint-config
TypeScript icon, indicating that this package has built-in type declarations

2.1.7 • 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.

/@captive/commitlint-config/

    Package Sidebar

    Install

    npm i @captive/commitlint-config

    Weekly Downloads

    1,008

    Version

    2.1.7

    License

    MIT

    Unpacked Size

    7.79 kB

    Total Files

    8

    Last publish

    Collaborators

    • cprodhomme
    • captive_owner
    • jpolo