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

Stylish formatter

Stylish formatter (@hint/formatter-stylish)

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

Example output for the stylish formatter

To use it you will have to install it via npm:

npm install @hint/formatter-stylish

Note: You can make npm install it as a devDependency using the --save-dev parameter, or to install it globally, you can use the -g parameter. For other options see npm's documentation.

And then activate it via the .hintrc configuration file:

{
"connector": {...},
"formatters": "stylish",
"hints": {
...
},
...
}