eslint-mdx
Version:
ESLint Parser for MDX
5 lines (4 loc) • 392 B
TypeScript
import type { Root } from 'mdast';
import { type Processor } from 'unified';
export declare const processorCache: Map<string, Processor<Root, undefined, undefined, Root, string>>;
export declare const getRemarkProcessor: (filePath: string, isMdx: boolean, ignoreRemarkConfig?: boolean, cwd?: string, remarkConfigPath?: string) => Promise<Processor<Root, undefined, undefined, Root, string>>;