@diplodoc/transform
Version:
A simple transformer of text in YFM (Yandex Flavored Markdown) to HTML
10 lines (9 loc) • 392 B
TypeScript
import type { Dictionary } from 'lodash';
import { LintError } from 'markdownlint';
import { LogLevels } from '../log';
export declare function errorToString(path: string, error: LintError, sourceMap?: Dictionary<string>): string;
export declare function getLogLevel(opts: {
ruleNames: string[];
logLevelsConfig: Record<string, LogLevels>;
defaultLevel: LogLevels;
}): LogLevels;