@hint/formatter-json

webhint formatter that prints the JSON object of the results

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
3,159302Jun 19, 2021Feb 16, 2017Minified + gzip package size for @hint/formatter-json in KB

Readme

JSON (@hint/formatter-json)

The json formatter does a JSON.stringify() of the results. Output is not very user friendly, but it can be useful when using it as input for other tools:

Example output for the json formatter

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

npm install @hint/formatter-json --save-dev

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

And then activate it via the .hintrc configuration file:

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

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.