gilp-check-commit

0.0.4 • Public • Published

Gilp Check Commit

travis coverage npm downloads js-semistandard-style license dependencies dev-dependencies

Gilp plugin to validate commit messages.

Installation

npm install gilp-check-commit

Usage

var gulp = require('gulp');
var gilpCheckCommit = require('gilp-check-commit');
var gilp = require('gilp')(gulp);
 
gilp.hook('commit-msg', function () {
  return gilp.srcFromStaged(['**/*'])
    .pipe(gilpCheckCommit(/^(NA|[0-9]+)\:\s[A-Z0-9].*\.$/gm))
  });

License

Gilp Check Commit is Copyright (c) 2016 sophilabs, inc. It is free software, and may be redistributed under the terms specified in the license file.

About

sophilabs

Gilp Check Commit is maintained and funded by sophilabs, inc. The names and logos for sophilabs are trademarks of sophilabs, inc.

Package Sidebar

Install

npm i gilp-check-commit

Weekly Downloads

0

Version

0.0.4

License

MIT

Last publish

Collaborators

  • sophilabs