Skip to content

Commit

Permalink
fix(docs): precommit.md pnpm husky init (#16290)
Browse files Browse the repository at this point in the history
fix(docs): precommit.md pnpm husky iniy

- changed according to official docs https://typicode.github.io/husky/get-started.html#husky-init-recommended
  • Loading branch information
krystxf committed May 14, 2024
1 parent 8038f67 commit 9c70bc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/versioned_docs/version-stable/precommit.md
Expand Up @@ -89,7 +89,7 @@ node --eval "fs.writeFileSync('.husky/pre-commit', 'git-format-staged -f \'prett
<!--pnpm-->

```bash
pnpm exec husky-init
pnpm exec husky init
pnpm add --save-dev git-format-staged
node --eval "fs.writeFileSync('.husky/pre-commit', 'git-format-staged -f \'prettier --ignore-unknown --stdin --stdin-filepath \"{}\"\' .\n')"
```
Expand Down

0 comments on commit 9c70bc1

Please sign in to comment.