Skip to content

Commit

Permalink
docs: simple-git-hooks requires npx or yarn to run in README (#191)
Browse files Browse the repository at this point in the history
  • Loading branch information
swwind authored Mar 19, 2024
1 parent 9e7fa5d commit b5e00ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ yarn add -D simple-git-hooks

In `package.json`, add:

```json
```jsonc
"simple-git-hooks": {
"pre-commit": "pretty-quick --staged"
"pre-commit": "yarn pretty-quick --staged" // or "npx pretty-quick --staged"
}
```

Expand Down

0 comments on commit b5e00ba

Please sign in to comment.