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

Deprecation message, unclear how to solve #1548

Open
ThiagoMaia1 opened this issue Dec 20, 2024 · 0 comments
Open

Deprecation message, unclear how to solve #1548

ThiagoMaia1 opened this issue Dec 20, 2024 · 0 comments

Comments

@ThiagoMaia1
Copy link

Hello. I started getting the message:

husky - '~/.huskyrc' is DEPRECATED, please move your code to ~/.config/husky/init.sh

It's not too clear to me how to solve it. I'm not aware of having a file called .huskyrc. I used to have my structure be something like:

.husky
- _
- pre-commit

That's when I get the deprecation message. I tried to move the content of that pre-commit file to the _ folder, and it worked, but then it gets overridden by the prepare script.

I've tried creating a .config/husky/init.sh file directly in the root, but it's ignored. If I put the init within .husky it's also ignored. What do I have to do to make it work and not see the deprecation message?

@ThiagoMaia1 ThiagoMaia1 changed the title Deprecation message, unclear how to solver Deprecation message, unclear how to solve Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant