Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (validate-conventional-commit) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
validate-conventional-commit
Smallest simplest conventional commit validator to use with eg husky
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 alternativehusky
– my preferred git hook managermtfoley/pr-compliance-action
– an action that helps validating conventional commit style in PR:s, something this module is not really geared towards