Skip to content
Discussion options

You must be logged in to vote

I'd say no.

However if you're fine with using npx for global install, you can do npx husky install && npx husky add .husky/pre-commit 'echo foo'.
The downside of it is that if you're working in a team, people won't have husky installed unless they also run npx husky install.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@maxiride
Comment options

@typicode
Comment options

@jdlopez-fe
Comment options

Answer selected by maxiride
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants