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

docs: changed husky init to husky install #4356

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
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
8 changes: 4 additions & 4 deletions docs/guides/local-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ You can find complete setup instructions on the [official documentation](https:/
```sh
npm install --save-dev husky

npx husky init
npx husky install

# Add commit message linting to commit-msg hook
echo "npx --no -- commitlint --edit \$1" > .husky/commit-msg
Expand All @@ -51,7 +51,7 @@ echo "npm run commitlint \${1}" > .husky/commit-msg
```sh
yarn add --dev husky

yarn husky init
yarn husky install

# Add commit message linting to commit-msg hook
echo "yarn commitlint --edit \$1" > .husky/commit-msg
Expand All @@ -74,7 +74,7 @@ echo "yarn commitlint \${1}" > .husky/commit-msg
```sh
pnpm add --save-dev husky

pnpm husky init
pnpm husky install

# Add commit message linting to commit-msg hook
echo "pnpm dlx commitlint --edit \$1" > .husky/commit-msg
Expand All @@ -94,7 +94,7 @@ echo "pnpm commitlint \${1}" > .husky/commit-msg
```sh
deno add --dev husky

deno task --eval husky init
deno task --eval husky install

# Add commit message linting to commit-msg hook
echo "deno task --eval commitlint --edit \$1" > .husky/commit-msg
Expand Down