You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 65bc6e5
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+1-6Lines changed: 1 addition & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,12 +8,7 @@ Husky can prevent bad `git commit`, `git push` and more 🐶 _woof!_
8
8
9
9
**Announcement: Husky v5 has been published, to view v5 docs click [here](https://typicode.github.io/husky).**
10
10
11
-
**Note for npm v7 users** Currently `INIT_CWD` environment variable is missing in npm v7 and is required for Husky v4 to auto-install (https://github.com/npm/cli/issues/2033). To manually install husky v4, run
12
-
```shell
13
-
INIT_CWD="$(pwd)" npm install husky --save-dev
14
-
```
15
-
16
-
Or upgrade to [husky v5](https://typicode.github.io/husky/#/).
11
+
**Note to npm v7 users**: if hooks aren't being installed with npm `v7`, check that your version is at least `v7.1.2`.
0 commit comments