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.
- 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
- Install dependencies
yarn install
or
npm install
- Try change somecode on index.js that can break lint
- Try commit that changes
- Husky should be working