eslint-plugin-mdx
Version:
ESLint Plugin for MDX
18 lines (17 loc) • 553 B
TypeScript
import type { Linter } from 'eslint';
import { type SyncOptions } from 'eslint-mdx';
declare function preprocess(sourceText: string, filename: string, syncOptions: SyncOptions): {
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 {};