A simple commit message linter that enforces conventional commit format. v1.1.3 is the latest stable release. It checks commit messages against a configurable pattern, with custom error messages. Minimal dependencies, zero-config setup. Uses local git hooks via husky or lint-staged.
npm install wangtron-lint-commitNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to use lintCommit in a Husky commit-msg hook to validate commit messages.
Provide custom regex option.
Set "type": "module" in package.json or use .mjs extension.