An unofficial html5 linter and validator.
htmllint uses a parser to get the DOM for your html. It then uses the provided rules (and default rules) to lint both the DOM and then individual lines.
This module doesn't provide any interface on its own. If you're using gulp, use the folloiwing module:
gulp-htmllint
: a gulp interface for htmllint
You can use htmllint in Node.JS by using
require('@yodasws/htmllint')
in your code, and doing an install with
yarn add @yodasws/htmllint