validate-conventional-commit

1.0.3 • Public • Published

validate-conventional-commit

Smallest simplest conventional commit validator to use with eg husky

npm version npm downloads js-semistandard-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)

  • @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

/validate-conventional-commit/

    Package Sidebar

    Install

    npm i validate-conventional-commit

    Weekly Downloads

    85

    Version

    1.0.3

    License

    0BSD

    Unpacked Size

    4.33 kB

    Total Files

    4

    Last publish

    Collaborators

    • voxpelli