Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jehy/husky-check-name
https://github.com/jehy/husky-check-name
hook husky validator
Last synced: 10 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/jehy/husky-check-name
- Owner: jehy
- Created: 2019-09-04T11:44:13.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-10-16T18:18:45.000Z (about 1 year ago)
- Last Synced: 2024-04-14T11:05:28.400Z (7 months ago)
- Topics: hook, husky, validator
- Language: JavaScript
- Homepage:
- Size: 526 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# husky-check-name
[![npm](https://img.shields.io/npm/v/husky-check-name.svg)](https://npm.im/husky-check-name)
[![license](https://img.shields.io/npm/l/husky-check-name.svg)](https://npm.im/husky-check-name)
![Build](https://github.com/jehy/husky-check-name/workflows/Build/badge.svg)
[![dependencies Status](https://david-dm.org/jehy/husky-check-name/status.svg)](https://david-dm.org/jehy/husky-check-name)
[![devDependencies Status](https://david-dm.org/jehy/husky-check-name/dev-status.svg)](https://david-dm.org/jehy/husky-check-name?type=dev)
[![Coverage Status](https://coveralls.io/repos/github/jehy/husky-check-name/badge.svg?branch=master)](https://coveralls.io/github/jehy/husky-check-name?branch=master)
[![Known Vulnerabilities](https://snyk.io/test/github/jehy/husky-check-name/badge.svg)](https://snyk.io/test/github/jehy/husky-check-name)Add this module to check that user names correspond to their emails.
For example, user with email "[email protected]" should have git name "Kate",
and user with name "[email protected]" should have git name "Vladimir Putin".#### Install
```bash
npm i husky-check-name
```#### Usage (package.json)
```json
{
"husky": {
"hooks": {
"pre-commit": "husky-check-name"
}
}
}
```#### See also
* [husky-check-email](https://www.npmjs.com/package/husky-check-email)
* [husky-add-issue-tracker](https://www.npmjs.com/package/husky-add-issue-tracker)