UNPKG

eslint-plugin-mdx

Version:
18 lines (17 loc) 492 B
/** * based of @link https://github.com/eslint/eslint-plugin-markdown/blob/main/lib/processor.js * * @fileoverview Processes Markdown files for consumption by ESLint. * @author Brandon Mills */ import type { Node } from 'unist'; import type { ESLintProcessor } from './types'; export interface Block extends Node { baseIndentText: string; comments: string[]; rangeMap: Array<{ js: number; md: number; }>; } export declare const markdown: ESLintProcessor;