Skip to content

Husky for non npm projects #1094

Answered by typicode
maxiride asked this question in Q&A
Jan 21, 2022 · 2 comments · 2 replies
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 2 replies

Comment options

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

@typicode
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
3 participants