This adds a git precommit hook to a project to lint staged files with prettier. It's useful for when you want to customize this hook outside of the given project.
- Clone this repo
- Install dependencies -
yarn
ornpm i
- Run ./install-in-your-project.sh $path-to-your-project