htmlhint / SublimeLinter-contrib-htmlhint

A SublimeLinter plugin for HTML, using HTMLHint.
MIT License
34 stars 5 forks source link

HTMLHint doesn't report any errors even when errors present (no errors in debug window) #1

Closed gkatsanos closed 9 years ago

gkatsanos commented 9 years ago

I installed Sublime Linter and your htmlhint plugin, I'm at an open html.twig file with html syntax, I intentionally add a syntax error (unclosed tag etc) yet I get no error warning. (I have enabled show errors on save)

mmaday commented 9 years ago

What's your debug log showing on the console? You can enable debug logging at Tools/SublimeLinter/Debug Mode. Then go to View/Show Console.

You'll see the htmlhint command run along with its output. I'm guessing htmlhint is not detecting any errors and cannot handle the twig syntax.

mmaday commented 9 years ago

Were you able to look into this more? I believe it's htmlhint's inability to understand the twig syntax. I recommend you try Twiglint at https://github.com/maxgalbu/SublimeLinter-contrib-twiglint.

mmaday commented 9 years ago

Closing this issue due to lack of activity. Re-open/open another if you have any more problems.