typicode / husky

Git hooks made easy 🐶 woof!
https://typicode.github.io/husky
MIT License
31.69k stars 996 forks source link

.husky don't auto create #1408

Closed sunlianglife closed 1 month ago

sunlianglife commented 2 months ago

"husky": "^9.0.11", "node": "18.12.0"

"scripts": { "postinstall": "husky install", },

error: $ husky install install command is deprecated

stephane-ruhlmann commented 2 months ago

Hi @sunlianglife , v9.0 deprecated install command. Now you can just execute husky.

Check the changelog for further details: https://github.com/typicode/husky/releases/tag/v9.0.1