Skip to content

Commit 19710f7

Browse files
sibiraj-stypicode
andauthored
docs: replace deprecated npx option (#1070)
* docs: update deprecated npx option * docs: fix commitlint commands * Update docs/README.md * Update docs/README.md Co-authored-by: typicode <[email protected]>
1 parent 4b33931 commit 19710f7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ To add another hook use `husky add`.
7373
For example:
7474

7575
```shell
76-
npx husky add .husky/commit-msg 'npx --no-install commitlint --edit "$1"'
76+
npx husky add .husky/commit-msg 'npx --no commitlint --edit "$1"'
7777
```
7878

7979
_For Windows users, if you see the help message when running `npx husky add ...`, try `node node_modules/husky/lib/bin add ...` instead. This isn't an issue with husky code._
@@ -463,7 +463,7 @@ If you were calling directly locally installed binaries, **you need to run them
463463
```shell
464464
# .husky/pre-commit (v7)
465465
# ...
466-
npx --no-install jest
466+
npx --no jest
467467
# or
468468
yarn jest
469469
```
@@ -484,7 +484,7 @@ Previous `HUSKY_GIT_PARAMS` environment variable is replaced by native params `$
484484
```shell
485485
# .husky/commit-msg (v7)
486486
# ...
487-
npx --no-install commitlint --edit $1
487+
npx --no commitlint --edit $1
488488
# or
489489
yarn commitlint --edit $1
490490
```

0 commit comments

Comments
 (0)