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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 3.1.35
    14,690
    • latest

Version History

Package Sidebar

Install

npm i @hint/formatter-json

Homepage

webhint.io/

Weekly Downloads

15,095

Version

3.1.35

License

Apache-2.0

Unpacked Size

125 kB

Total Files

11

Last publish

Collaborators

  • leotlee
  • vidorteg
  • oaflynn
  • molant
  • antross