@hint/formatter-json
TypeScript icon, indicating that this package has built-in type declarations

3.1.35 • Public • Published

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": {
        ...
    },
    ...
}

/@hint/formatter-json/

    Package Sidebar

    Install

    npm i @hint/formatter-json

    Homepage

    webhint.io/

    Weekly Downloads

    12,855

    Version

    3.1.35

    License

    Apache-2.0

    Unpacked Size

    125 kB

    Total Files

    11

    Last publish

    Collaborators

    • leotlee
    • vidorteg
    • oaflynn
    • molant
    • antross