cspell
Version:
A Spelling Checker for Code!
16 lines • 804 B
text/typescript
import type { Issue } from '@cspell/cspell-types';
import type { LinterCliOptions } from './options.mjs';
import type { FinalizedReporter } from './util/reporters.mjs';
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): FinalizedReporter;
declare function formatIssue(templateStr: string, issue: ReporterIssue, maxIssueTextWidth: number): string;
export declare const __testing__: {
formatIssue: typeof formatIssue;
};
export {};
//# sourceMappingURL=cli-reporter.d.mts.map