validate-conventional-commit

v1.0.4
Smallest simplest conventional commit validator to use with eg Husky
husky conventional-commit commitlint commit git commit-msg

validate-conventional-commit

Smallest simplest conventional commit validator to use with eg husky

npm version npm downloads neostandard javascript style Types in JS Follow @voxpelli@mastodon.social

Usage

npx --no validate-conventional-commit < .git/COMMIT_EDITMSG

(Or simply just copy and paste the cli.js file into your project if you want to avoid a dependency)

Related modules

  • @commitlint/cli – a much more comprehensive and much more heavy alternative
  • husky – my preferred git hook manager
  • mtfoley/pr-compliance-action – an action that helps validating conventional commit style in PR:s, something this module is not really geared towards
npm i validate-conventional-commit

Metadata

  • 0BSD
  • >=16.0.0
  • Pelle Wessman
  • released 6/29/2024

Downloads

Maintainers

Pelle Wessman