Skip to main content

render

Function render 

Source
pub fn render(
    report: &LintReport,
    format: OutputFormat,
    color: bool,
    quiet: bool,
) -> Result<String>
Expand description

Render a report without writing it, allowing callers to control stdout/stderr.

ยงErrors

Returns an error if machine-readable serialization fails.