@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:

Usage no npm install needed!

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

README

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.