package
Validate the commit message for a particular commit in node core
npm install core-validate-commitGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Estimated unpacked size across 2 packages.
316.4 kB
Includes dependencies.
Validate the commit message for a particular commit in node core
$ npm install [-g] core-validate-commit# for a single commit
$ core-validate-commit <sha>
# validate since <sha>
$ git rev-list <sha>..HEAD | xargs core-validate-commit
# list all rules
$ core-validate-commit --list
fixes-url enforce format of Fixes URLs
line-after-title enforce a blank newline after the commit title
line-length enforce max length of lines in commit body
metadata-end enforce that metadata is at the end
To see a list of valid subsystems:
$ core-validate-commit --list-subsystemValid subsystems are also defined in lib/rules/subsystem.js.
$ npm testEvan Lucas
MIT (See LICENSE for more info)
evanlucas
evanlucas@me.com