Skip to content

Commit

Permalink
Fix husky init command
Browse files Browse the repository at this point in the history
  • Loading branch information
bokub authored Mar 7, 2024
1 parent c2397d3 commit 4bce748
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ yarn add -D husky lint-staged
Setup git hook:

```bash
npm pkg set scripts.prepare="husky install"
npx husky install
npx husky init
echo "npx lint-staged --concurrent false" > .husky/pre-commit
npm pkg set "lint-staged.*"="prettier --write --ignore-unknown"
```
Expand Down

0 comments on commit 4bce748

Please sign in to comment.