microsoft / vscode-htmlhint

VS Code integration of HTMLHint, an HTML linter.
MIT License
50 stars 35 forks source link

html-lang-require problem #95

Open AstraNoel opened 2 years ago

AstraNoel commented 2 years ago

Here is a problem that I enabled the rules "html-lang-require", and I tried <!DOCTYPE html><html></html> as example. However, my console doesn't show any warning message even though I haven't add the attribute "lang". The other rules are working perfectly.

I'm using HTMLHint v0.10.0, and my VS Code version is 1.64.2

coliff commented 2 years ago

The reason for this is because vscode-htmlhint hasn't been updated for 2 years and the "html-lang-require" HTMLHint rule is relatively new and so the HTMLHint rules bundled with this plugin can't check against that unless you install HTMLHint in addition.