husky-check-email
0.0.7 • Public • Published husky-check-email
Add this module to only allow git commits with emails from certain domain.
Install
Usage (package.json)
If you want to validate email against one domain:
{
"husky": {
"hooks": {
"pre-commit": "husky-check-email @mydomain.com"
}
}
}
If you want to validate email against several domains:
{
"husky": {
"hooks": {
"pre-commit": "husky-check-email @mydomain.com,@mail.ru"
}
}
}
See also
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 0.0.7
9,053
Version History
Package Sidebar
Install
Weekly Downloads