eslint-plugin-mdx
Version:
ESLint Plugin for MDX
17 lines (16 loc) • 480 B
TypeScript
import type { Linter } from 'eslint';
declare function preprocess(sourceText: string, filename: string): {
filename: string;
text: string;
}[];
declare function postprocess(messages: Linter.LintMessage[][], filename: string): Linter.LintMessage[];
export declare const markdownProcessor: {
meta: {
name: string;
version: string;
};
preprocess: typeof preprocess;
postprocess: typeof postprocess;
supportsAutofix: boolean;
};
export {};