Closed aponad closed 8 years ago
Thank you for the report. Sadly, I can't reproduce your issue. Did you try to reinstall eslint
and eslint-plugin-html
? Can you require("eslint-plugin-html");
when you execute nodejs in a directory without local node_modules
?
This plugin is really straightforward and doesn't do anything fancy, it should work the same way other plugins do.
Hi, Thanks for your time, as it turned out my NODE_PATH was incorrect. Works like a charm now.
I also installed eslint-plugin-html globally. What do you mean your NODE_PATH
was incorrect?
@intcreator echo $NODE_PATH
on Debian/Ubuntu it usually should be /usr/lib/node_modules
had same issue, fixed it with eslint . --resolve-plugins-relative-to=$(npm root -g)
https://stackoverflow.com/a/68809128/10126479
Hi, Using eslint-plugin-html locally it works fine, but if I try to install it globally eslint cannot find it.
Local install:
Global install:
.eslintrc: