mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 22:10:13 +01:00
Update dependency: markdownlint-micromark to 0.1.9.
This commit is contained in:
parent
3f31d6f7a2
commit
a5371e29c5
5 changed files with 31 additions and 45 deletions
|
|
@ -7,11 +7,11 @@ const { filterByTypes, getTokenParentOfType, inHtmlFlow } =
|
|||
require("../helpers/micromark.cjs");
|
||||
|
||||
// eslint-disable-next-line jsdoc/valid-types
|
||||
/** @type import("micromark-util-types").TokenType[] */
|
||||
/** @type import("markdownlint-micromark").TokenType[] */
|
||||
const unorderedListTypes =
|
||||
[ "blockQuotePrefix", "listItemPrefix", "listUnordered" ];
|
||||
// eslint-disable-next-line jsdoc/valid-types
|
||||
/** @type import("micromark-util-types").TokenType[] */
|
||||
/** @type import("markdownlint-micromark").TokenType[] */
|
||||
const unorderedParentTypes =
|
||||
[ "blockQuote", "listOrdered", "listUnordered" ];
|
||||
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@ const intrawordRe = /^\w$/;
|
|||
/**
|
||||
* @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 {import("markdownlint-micromark").TokenType} type Token type.
|
||||
* @param {import("markdownlint-micromark").TokenType} typeSequence Token sequence type.
|
||||
* @param {"*" | "**"} asterisk Asterisk kind.
|
||||
* @param {"_" | "__"} underline Underline kind.
|
||||
* @param {"asterisk" | "consistent" | "underscore"} style Style string.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue