format

fun format(report: ViolationReport, customHeader: String? = null): String

Formats a ViolationReport into an HTML snippet suitable for HTML test reporting tools.

Return

Formatted HTML string representation of the report.

Parameters

report

The violation report to format.

customHeader

Optional custom header or description to include below the rule header.