Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function lint(text, options) {
options = utils.mixin({}, defaultOptions, options);
var results = HTMLHint.verify(text, options);
var i, length;
for (i = 0, length = results.length; i < length; i++) {
groomer.groom(results[i]);
}
return results;
}