2 questions
Score of 1
1 answer
144 views
Import JavaScript code from an npm package in order to use it programmatically
I have installed the htmlhint library that I can run in my command line over any HTML file like this:
npx htmlhint src/test-file.html
This lints the file and outputs some HTML errors (if any), for ...
Score of 1
0 answers
348 views
Writing htmlhint rules
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 ...