/template-husky

Template husky NodeJS

Primary LanguageJavaScript

Template Husky - NodeJS

This repo is template to use husky to validate lint code (for example), and i set husky into this repo not for single device, while other devs use this repo, they can use automatically without any setup.

Setup

  1. Clone the repository using https or ssh
- https: git clone https://github.com/reviart/template-husky.git
- ssh: git clone git@github.com:reviart/template-husky.git
  1. Install dependencies
yarn install

or

npm install
  1. Try change somecode on index.js that can break lint
  2. Try commit that changes
  3. Husky should be working

Image result