Meteor typescript complaining about missing doctype in vscode
问题 VSCode is complaining about missing DOCTYPE on the html files. Meteor build system automatically adds file types and having them causes build errors. How do I make vscode to ignore missing doctype on html files? Error I get for this. Doctype must be declared first. 回答1: you need to create a .htmlhintrc in your root folder you can go to http://htmlhint.com/ and setup the rules that are convient to you and create the .htmlhintrc here is an example with "doctype-first": false, , which would