https://github.com/burgwyn/webhint-formatter-json-object
A JSON object formatter for webhint
https://github.com/burgwyn/webhint-formatter-json-object
formatter hints webhint
Last synced: 5 months ago
JSON representation
A JSON object formatter for webhint
- Host: GitHub
- URL: https://github.com/burgwyn/webhint-formatter-json-object
- Owner: burgwyn
- License: apache-2.0
- Created: 2023-04-03T12:36:17.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2026-01-12T01:00:34.000Z (6 months ago)
- Last Synced: 2026-01-12T05:46:35.339Z (6 months ago)
- Topics: formatter, hints, webhint
- Language: JavaScript
- Homepage:
- Size: 1.95 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# webhint-formatter-json-object
The `json-object` formatter returns a JSON array of the results. Output is not
very user friendly, but it can be useful when using it as input for
other tools:

To use it you will have to install it via `npm`:
```bash
npm install webhint-formatter-json-object --save-dev
```
**Note:** The recommended way of running webhint is as a `devDependency` of
your project.
And then activate it via the [`.hintrc`][hintrc] configuration file:
```json
{
"connector": {...},
"formatters": ["webhint-formatter-json-object"],
"hints": {
...
},
...
}
```
[hintrc]: https://webhint.io/docs/user-guide/configuring-webhint/summary/