I've just installed htmlhint, and I'm using this .htmlinitrc
:
{
"doctype-first": false
}
because this project is largely made up of include files, which don't have a DOCTYPE
. The problem is that this turns off all the rule checking. Without this rule, I get various other errors reported. With this rules, I get zero errors reported (I'm running as npx htmlhint
, and it reports that .htmlhinitrc
has been loaded, but no errors were found). Any ideas?