Just add this fragment to the settings file (.vscode \ settings.json in the workspace or edit using the file> Settings> Settings):
"htmlhint.options": { "tagname-lowercase": true, "attr-value-double-quotes": true, "attr-no-duplication": true, "tag-pair": true, "spec-char-escape": true, "id-unique": true, "src-not-empty": true, "title-require": true }
In this case, the HTMLHint plugin will correctly analyze Angular patterns and stop throw warnings.
source share