I'd like to migrate husky from v4 to v6. As it says in the installation guide:
Another case you may be in is if your
package.json
file and.git
directory are not at the same level. [...]
By design, husky install must be run in the same directory as .git
So the problem is that in .NET Core solution I'm working on there's no .git
folder anywhere to be found. I'm using Visual Studio 2019 and all the git settings are available through the IDE.
Have anyone had this kind of problem or succeeded with husky v6 installation in similar circumstances?
I think that maybe it is possible to create .git
directory in the solution's Web project
and link it to the actual git settings location but I can't find anywhere where to find it.
Thanks in advance.