MCPcopy
hub / github.com/htmlhint/HTMLHint / jsonFormatter

Function jsonFormatter

src/cli/formatters/json.ts:3–7  ·  view source on GitHub ↗
(formatter)

Source from the content-addressed store, hash-verified

1import { FormatterCallback } from '../formatter'
2
3const jsonFormatter: FormatterCallback = function (formatter) {
4 formatter.on('end', (event) => {
5 console.log(JSON.stringify(event.arrAllMessages))
6 })
7}
8
9module.exports = jsonFormatter

Callers

nothing calls this directly

Calls 1

onMethod · 0.80

Tested by

no test coverage detected