Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jehy/husky-check-name


https://github.com/jehy/husky-check-name

hook husky validator

Last synced: 10 days ago
JSON representation

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)