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

Summary

Summary (@hint/formatter-summary)

The summary formatter prints the results of a site analysis in a table with how many errors or warnings a hint has found:

Example output for the summary formatter

This package is installed automatically by webhint:

npm install hint --save-dev

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

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

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