Skip to content
/ husky Public
forked from typicode/husky

Modern native Git hooks made easy ๐Ÿถ woof!

License

Notifications You must be signed in to change notification settings

NoriSte/husky

 
 

Repository files navigation

husky

Open Collective Node.js CI

Modern native Git hooks made easy

Husky improves your commits and more ๐Ÿถ woof!

Install

npm install husky --save-dev

Usage

Edit package.json > prepare script and run prepare script once:

$ npm set-script prepare "husky install"
$ npm run prepare

Add a hook:

$ npx husky add .husky/pre-commit "npm test"

Make a commit:

$ git commit -m "Keep calm and commit"

For more use cases, see documentation.

Documentation

https://typicode.github.io/husky

Important Upgrading from v4 to v6 requires additional steps, please see the docs.

Articles

License

MIT

Companies

Become a sponsor and have your logo here and in the docs

The full list of Sponsors can be viewed in the docs, on Open Collective and on GitHub sponsors.

About

Modern native Git hooks made easy ๐Ÿถ woof!

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 97.9%
  • Shell 2.1%