Writing htmlhint rules

153 Views Asked by At

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?

0

There are 0 best solutions below