UNPKG

cspell

Version:

A Spelling Checker for Code!

14 lines 880 B
import type { CSpellReporter, FileSettings, ReporterConfiguration } from '@cspell/cspell-types'; export type FinalizedReporter = Required<CSpellReporter>; /** * Mergers several cspell reporters into a single one */ export declare function mergeReporters(...reporters: ReadonlyArray<CSpellReporter>): FinalizedReporter; /** * Loads reporter modules configured in cspell config file */ export declare function loadReporters(reporters: FileSettings['reporters'], defaultReporter: CSpellReporter, config: ReporterConfiguration): Promise<ReadonlyArray<CSpellReporter>>; export declare function finalizeReporter(reporter: undefined): undefined; export declare function finalizeReporter(reporter: CSpellReporter): FinalizedReporter; export declare function finalizeReporter(reporter: CSpellReporter | undefined): FinalizedReporter | undefined; //# sourceMappingURL=reporters.d.ts.map