pub fn format_diagnostics(diagnostics: &[LintDiagnostic]) -> String
Format diagnostics for CLI output