@hint/formatter-html

A hint formatter that outputs the issues in an HTML file.

Usage no npm install needed!

<script type="module">
  import hintFormatterHtml from 'https://cdn.skypack.dev/@hint/formatter-html';
</script>

README

HTML (@hint/formatter-html)

The html formatter outputs the result in a HTML file.

Example output for the html formatter

A new folder hint-report will be created with the results.

This package is installed automatically by webhint:

npm install hint --save-dev

To use it, activate it via the .hintrc configuration file:

{
    "connector": {...},
    "formatters": ["html"],
    "hints": {
        ...
    },
    ...
}

Note: The recommended way of running webhint is as a devDependency of your project.