Commitlint configuration presets
-
✅ Validates standard git message title
<gitmoji>[optional scope:] <description> [optional body] [optional footer(s)]
-
😀 Gitmoji support
npm install --save-dev @captive/commitlint-config
/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
MIT © Julien Polo julien.polo@captive.fr
@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.