Socket
Socket
Sign inDemoInstall

husky-check-name

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    husky-check-name

check user name against email before git commit


Version published
Weekly downloads
5
Maintainers
1
Install size
4.40 kB
Created
Weekly downloads
 

Readme

Source

husky-check-name

npm license Build Status dependencies Status devDependencies Status Coverage Status Known Vulnerabilities

Add this module to check that user names correspond to their emails.

For example, user with email "kate@google.com" should have git name "Kate", and user with name "vladimir.putin@kremlin.ru" should have git name "Vladimir Putin".

Install
npm i husky-check-name
Usage (package.json)
{
  "husky": {
    "hooks": {
      "pre-commit": "husky-check-name"
    }
  }
}
See also

Keywords

FAQs

Last updated on 04 Sep 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc