1.0.1 • Published 7 years ago
validate-commit-email v1.0.1
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
.