Skip to content

Function: formatResults()

ts
function formatResults(results, format): string;

Defined in: packages/cli/src/index.ts:220

Format lint results for the given output format. Empty string when there's nothing to print.

Parameters

results

FileResult[]

format

OutputFormat

Returns

string

Released under the MIT License