first commit
This commit is contained in:
Generated
Vendored
+42
@@ -0,0 +1,42 @@
|
||||
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";
|
||||
Reference in New Issue
Block a user