@types/eslint-plugin-markdown
TypeScript icon, indicating that this package has built-in type declarations

2.0.2 • Public • Published

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

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

Credits

These definitions were written by JounQin.

/@types/eslint-plugin-markdown/

    Package Sidebar

    Install

    npm i @types/eslint-plugin-markdown

    Weekly Downloads

    8,289

    Version

    2.0.2

    License

    MIT

    Unpacked Size

    3.59 kB

    Total Files

    5

    Last publish

    Collaborators

    • types