@slippy-lint/slippy
Version:
A simple but powerful linter for Solidity
10 lines (9 loc) • 476 B
TypeScript
import { DiagnosticToReport } from "./rules/types.js";
export interface Colorizer {
yellow: (text: string) => string;
red: (text: string) => string;
dim: (text: string) => string;
underline: (text: string) => string;
bold: (text: string) => string;
}
export declare function formatAndPrintDiagnostics(diagnostics: DiagnosticToReport[], sourceIdToAbsolutePath: Record<string, string>, consoleLog?: (...args: string[]) => void, colorizer?: Colorizer): void;