"use client"; import type { ICompilerService } from "../structures/ICompilerService"; /** * Renders the lint plugin's findings in a list view. Shown by `PlaygroundShell` * when the active tab is "lint". Empty state is the green checkmark. */ export function LintPane({ diagnostics, emptyHint = "Powered by @ttsc/lint inside playground.wasm.", }: { diagnostics: ICompilerService.IDiagnostic[]; emptyHint?: string; }) { if (diagnostics.length === 0) return (