0.0.4 • Published 7 years ago

gilp-check-commit v0.0.4

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

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.