-
Notifications
You must be signed in to change notification settings - Fork 16
Linter not triggered #33
Comments
I even have an html file, which is not being linted by linter-htmllint inside Atom. When I invoke
|
Do you have a .htmlhintrc file anywhere above your file? If so, make sure it has "tag-pair": true. Your example worked fine for me. |
Similar issue here, linter-htmlhint 0.1.1 Atom 1.0.19, getting this behavior (no linting) even if the file extension is |
fwiw, looks like the |
Confirmed, downgraded to |
Is a |
I've merged @prosf pr with uses the new json output option on |
I also have this issue, linting not working on html files. Atom 1.6.2, linter-htmlhint 1.1.1. |
@leosanvieira can you poen Atom's Developer Tools and put a breakpoint here to see if the linter is actually being triggered but not giving any output? |
@Arcanemagus I did as you asked and nothing happened, it didn't even get to the breakpoint. |
If you run the |
Hmmm, you don't have |
You'd be surprised how often that is the case 😉 What do the |
"linter-htmlhint": {} There's only this section. |
Try removing I think that is turning off all rules. |
@johnwebbcole tried that - restarted Atom too, and upgraded to 1.1.2 and restarted - nothing worked |
I installed Atom on another machine today and linter-htmlhint is working now somehow but it only activates when i save the .html file, it does not activate after opening the same file which contains html "errors" and also does not activate after making changes, only after saving as i said before. |
@leosanvieira There are two general "classes" of linter providers, those that can run on the current file contents, and those that only operate on a file saved to disk. Currently at least this linter belongs to that second class and will only run when the file is saved. There is an issue open on |
I am not! After updating everything, checking the settings and correcting my |
Marking as closed due to a lack of response from @Aeoril. If you are still having issues with this please file a new issue! |
On Atom 1.0.11, with linter-htmlhint 0.1.1 even manually setting the syntax for a file to HTML doesn't trigger linting at all if the file's extension isn't "html".
The text was updated successfully, but these errors were encountered: