eslint-plugin-mdx
Version:
ESLint Plugin for MDX
13 lines (12 loc) • 387 B
TypeScript
import type { Linter } from 'eslint';
export interface ESLintProcessor {
supportsAutofix?: boolean;
preprocess?(text: string, filename: string): Array<string | {
text: string;
filename: string;
}>;
postprocess?(messages: Linter.LintMessage[][], filename: string): Linter.LintMessage[];
}
export interface ProcessorOptions {
lintCodeBlocks: boolean;
}