Skip to content

buildLintSection

function buildLintSection(diagnostics): string;

Defined in: src/ci/buildReport.ts:78

A collapsed <details> block listing every lintAsl finding for the after-state of a file, or an empty string when the definition is clean.

Collapsed by default: the diagram is what the comment is for, and a warning such as an unreachable state is worth a glance, not a wall of text above it. Errors — a definition Step Functions would reject — are counted separately in the summary line so they are not mistaken for advice.

LintDiagnostic[]

string