Files
LearnNode/node-course/node_modules/@eslint/markdown/dist/rules/no-reversed-media-syntax.d.ts
T
2026-08-06 12:00:39 +10:00

43 lines
1.8 KiB
TypeScript

declare namespace _default {
namespace meta {
let type: "problem";
namespace docs {
let recommended: boolean;
let description: string;
let url: string;
}
let fixable: "code";
namespace messages {
let reversedSyntax: string;
}
}
function create(context: import("@eslint/core").RuleContext<{
LangOptions: import("../types.js").MarkdownLanguageOptions;
Code: import("../index.js").MarkdownSourceCode;
RuleOptions: [];
Node: import("mdast").Node | import("../language/markdown-source-code.js").InlineConfigComment;
MessageIds: "reversedSyntax";
}>): {
"heading, paragraph, tableCell"(node: Heading | Paragraph | TableCell): void;
":matches(heading, paragraph, tableCell) :matches(html, image, imageReference, inlineCode, linkReference, inlineMath)"(node: Html | Image | ImageReference | InlineCode | LinkReference | InlineMath): void;
":matches(heading, paragraph, tableCell):exit"(): void;
};
}
export default _default;
export type NoReversedMediaSyntaxMessageIds = "reversedSyntax";
export type NoReversedMediaSyntaxOptions = [];
export type NoReversedMediaSyntaxRuleDefinition = MarkdownRuleDefinition<{
RuleOptions: NoReversedMediaSyntaxOptions;
MessageIds: NoReversedMediaSyntaxMessageIds;
}>;
import type { Heading } from "mdast";
import type { Paragraph } from "mdast";
import type { TableCell } from "mdast";
import type { Html } from "mdast";
import type { Image } from "mdast";
import type { ImageReference } from "mdast";
import type { InlineCode } from "mdast";
import type { LinkReference } from "mdast";
import type { InlineMath } from "mdast-util-math";
import type { MarkdownRuleDefinition } from "../types.js";