@hint/formatter-stylish

webhint formatter that prints the results using the stylish style

Usage no npm install needed!

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

README

Stylish (@hint/formatter-stylish)

The stylish formatter prints the results in table format indicating the resource, line, and column:

Example output for the stylish 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": ["stylish"],
    "hints": {
        ...
    },
    ...
}

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