What is chai-htmlhint
chai-htmlhint is a wrapper of htmlhint to use with chai.
How to use it
You just have to pass the html you want to validate like this:
var myhtml = '<h1>my html</h1>';tobevalidHtml;
The default rules are:
If you want to override you just need a valid
.htmlhintrc file in the root of your project