How to use the htmlhint/groomer.groom function in htmlhint

To help you get started, we’ve selected a few htmlhint examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github MiguelCastillo / Brackets-InteractiveLinter / plugins / default / threaded / htmlhint / main.js View on Github external
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++) {

        return results;