mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-30 20:48:48 +01:00
Update to use named exports via / /async /promise /sync, simplify references via self-referencing, refine examples.
This commit is contained in:
parent
e41f034bef
commit
8da43dd246
96 changed files with 635 additions and 548 deletions
|
|
@ -21,8 +21,8 @@ function emphasisOrStrongStyleFor(markup) {
|
|||
};
|
||||
|
||||
/**
|
||||
* @param {import("./markdownlint.mjs").RuleParams} params Rule parameters.
|
||||
* @param {import("./markdownlint.mjs").RuleOnError} onError Error-reporting callback.
|
||||
* @param {import("markdownlint").RuleParams} params Rule parameters.
|
||||
* @param {import("markdownlint").RuleOnError} onError Error-reporting callback.
|
||||
* @param {import("micromark-util-types").TokenType} type Token type.
|
||||
* @param {import("micromark-util-types").TokenType} typeSequence Token sequence type.
|
||||
* @param {"*" | "**"} asterisk Asterisk kind.
|
||||
|
|
@ -76,7 +76,7 @@ const impl =
|
|||
}
|
||||
};
|
||||
|
||||
/** @type {import("./markdownlint.mjs").Rule[]} */
|
||||
/** @type {import("markdownlint").Rule[]} */
|
||||
export default [
|
||||
{
|
||||
"names": [ "MD049", "emphasis-style" ],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue