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

Stylish

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.