Skip to content

Latest commit

 

History

History

commitlint-config

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 [email protected]

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.