Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added husky docs for husky >= 5 #813

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update README.md
  • Loading branch information
zilahir committed Mar 8, 2021
commit 7e0a2e7a468434f4f3b8e8f4d35f67f2b612a027
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,9 @@ exec < /dev/tty && node_modules/.bin/cz --hook || true

##### Husky

*Prior `husky` v5* For `husky` users, add the following configuration to the project's `package.json`:
*Prior `husky` v5*:

For `husky` users, add the following configuration to the project's `package.json`:

```json
"husky": {
Expand All @@ -167,9 +169,9 @@ exec < /dev/tty && node_modules/.bin/cz --hook || true
}
```

*with husky >= v5*
*with husky >= v5*:

In [`husky v5`]() you need to call the locally instared binaries using `npx`
In [`husky v5`](https://typicode.github.io/husky/#/?id=announcement) you need to call the locally instared binaries using `npx`

in `.husky/prepare-commit-msg`:

Expand Down