@types/eslint-plugin-markdown
Version:
TypeScript definitions for eslint-plugin-markdown
27 lines (21 loc) • 633 B
TypeScript
// Type definitions for eslint-plugin-markdown 2.0
// Project: https://github.com/eslint/eslint-plugin-markdown#readme
// Definitions by: JounQin <https://github.com/JounQin>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
import { Linter } from "eslint";
import { Node } from "unist";
export interface RangeMap {
js: number;
md: number;
}
export interface Block extends Node {
baseIndentText: string;
comments: string[];
rangeMap: RangeMap[];
}
export const configs: {
recommended: Linter.Config;
};
export const processors: {
markdown: Linter.Processor<Linter.ProcessorFile>;
};