validate-commit-email
v1.0.1
Published
Validate the email of the current committer in your pre-commit hook.
Downloads
38
Readme
validate-commit-email
Validate the email of the current committer in your commit message hook.
If you are using husky, add this to your package.json
:
"scripts": {
…
"commitmsg": "validate-commit-email @example.com$"
}
This will enforce all committers to use an email that ends with @example.com
.