UNPKG

cspell

Version:
16 lines 856 B
import type { Issue, ReporterConfiguration } from '@cspell/cspell-types'; import type { LinterCliOptions } from './options.js'; import type { FinalizedReporter } from './util/reporters.js'; export interface ReporterIssue extends Issue { filename: string; } export interface ReporterOptions extends Pick<LinterCliOptions, 'debug' | 'issues' | 'legacy' | 'progress' | 'relative' | 'root' | 'showContext' | 'showSuggestions' | 'silent' | 'summary' | 'verbose' | 'wordsOnly'> { fileGlobs: string[]; } export declare function getReporter(options: ReporterOptions, config?: ReporterConfiguration): FinalizedReporter; declare function formatIssue(templateStr: string, issue: ReporterIssue, maxIssueTextWidth: number): string; export declare const __testing__: { formatIssue: typeof formatIssue; }; export {}; //# sourceMappingURL=cli-reporter.d.ts.map