This site uses cookies for analytics. By continuing to browse this site, you agree to this use.

HTML

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.