Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

core-validate-commit

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

core-validate-commit

Validate the commit message for a particular commit in node core

  • 3.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2.1K
decreased by-31.14%
Maintainers
1
Weekly downloads
 
Created
Source

core-validate-commit

Build Status Coverage Status

Validate the commit message for a particular commit in node core

Install

$ npm install [-g] core-validate-commit

Usage

# 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-length enforce max length of lines in commit body
 metadata-end enforce that metadata is at the end of commit messages
       pr-url enforce PR-URL
    reviewers enforce having reviewers
    subsystem enforce subsystem validity
 title-length enforce max length of commit title

Test

$ npm test

Author

Evan Lucas

License

MIT (See LICENSE for more info)

FAQs

Package last updated on 14 Oct 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc