Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is there a way simplify the steps of installation? #3133

Closed
zzzgit opened this issue Apr 22, 2022 · 4 comments
Closed

is there a way simplify the steps of installation? #3133

zzzgit opened this issue Apr 22, 2022 · 4 comments

Comments

@zzzgit
Copy link

zzzgit commented Apr 22, 2022

To make this tool work, there will be two steps to do:

  1. npx husky install
  2. npx husky add .husky/commit-msg 'npx --no -- commitlint --edit "$1"'

Is there a simpler means to achieve it? Or, just copy .husky folder from an old project?

@zzzgit
Copy link
Author

zzzgit commented Apr 22, 2022

Hi, I found a convenient way:

  1. copy .husky folder from another project
  2. run npx husky install

Now it works.

@escapedcat
Copy link
Member

is #3134 a duplicte issue?

@zzzgit
Copy link
Author

zzzgit commented Apr 22, 2022

is #3134 a duplicte issue?

No, they different.

@escapedcat
Copy link
Member

Closing this. The currently easiest way is documented. You solved your problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants