Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12111

Husky add command is deprecated?

$
0
0

I'm trying to follow this tutorial on how to add a commit msg hook with Husky.

And this is the command given in the tutorial:

npx husky add .husky/commit-msg 'npx commitlint --edit $1'

However when ran it errors with this message:

add command is deprecated

What should we be using instead of add?


Viewing all articles
Browse latest Browse all 12111

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>