-
Notifications
You must be signed in to change notification settings - Fork 14
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
Can't use lintHTML as a npm run script or as husky pre-commit step #457
Comments
@riobuenoDevelops Thanks for reporting. What version of LintHTML are you on? |
@KamiKillertO I'm using the latest version. 0.8.6 |
@riobuenoDevelops Is it possible to share your husky's config? |
@KamiKillertO sure, it's this |
@riobuenoDevelops Thanks. |
For the moment there's nothing I can do easily. A lot of code inherits from HTMLint still remains, preventing me from fixing that issue right now.
|
Hi! I'm configuring lintHTML as a husky pre-commit step to check the HTML files but I'm getting the following error when husky try to run the command:
path should be a
path.relative()d string, but got "/home/tania_work/Documents/Work/VertexStudio/Projects/vxr-medixlab/examples/index.html".
It works as expected when I run the command directly in the command line but it doesn't work with husky and even with
npm run
command as a script.Directly from command line
As husky step
The text was updated successfully, but these errors were encountered: