You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
ThiagoMaia1
changed the title
Deprecation message, unclear how to solver
Deprecation message, unclear how to solve
Dec 20, 2024
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: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 theprepare
script.I've tried creating a
.config/husky/init.sh
file directly in the root, but it's ignored. If I put theinit
within.husky
it's also ignored. What do I have to do to make it work and not see the deprecation message?The text was updated successfully, but these errors were encountered: