@types/eslint-plugin-markdown
Version:
TypeScript definitions for eslint-plugin-markdown
41 lines (31 loc) • 1.16 kB
Markdown
# Installation
> `npm install --save @types/eslint-plugin-markdown`
# Summary
This package contains type definitions for eslint-plugin-markdown (https://github.com/eslint/eslint-plugin-markdown#readme).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/eslint-plugin-markdown.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/eslint-plugin-markdown/index.d.ts)
````ts
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>;
};
````
### Additional Details
* Last updated: Mon, 06 Nov 2023 22:41:05 GMT
* Dependencies: [@types/eslint](https://npmjs.com/package/@types/eslint), [@types/unist](https://npmjs.com/package/@types/unist)
# Credits
These definitions were written by [JounQin](https://github.com/JounQin).