Open tukusejssirs opened 3 years ago
I was able to work around this by adding the following int SublimeLinter settings (see the docs:
"htmlhint": {
"selector": "source.html"
}
However, I still think that that should the default setting.
Thanks for the suggestion, In my case, source.html disabled my linter. Html files report a different source in SublimeText so I modified it to:
"htmlhint": {
"selector": "text.html.basic"
}
and made a pull request to update the default settings.
Describe the bug
htmlhint
lints all files, not just HTML files.To Reproduce Steps to reproduce the behavior:
doctype-first
andtag-pair
errors.Expected behavior A clear and concise description of what you expected to happen.
Screenshots
htmlhint
lints only HTML.Desktop (please complete the following information):
I don’t think this is OS-dependent, however, below is my platform:
SublimeLinter-contrib-htmlhint
v2.0.1