Skip to main content

Function: processReportEntries()

processReportEntries(dataStream, includeMessages): AsyncIterable<ReportRecord, any, any>

Processes ESLint report entries and generates summary metrics. Primary entrypoint for this module.

Parameters

dataStream: AsyncIterable<EslintReportFileEntry, any, any> | EslintReportFileEntry[]

Stream of ESLint report file entries to process

includeMessages: boolean

Whether to include individual lint messages in output

Returns

AsyncIterable<ReportRecord, any, any>

AsyncIterable that yields annotation records for each lint message (if includeMessages=true) and summary records for total warnings and errors

Defined in

src/processors/eslint/index.ts:26