mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-22 05:40:48 +02:00
Add support for asynchronous custom rules (ex: to read a file or make a network request).
This commit is contained in:
parent
5167f0e576
commit
2056d81682
5 changed files with 499 additions and 129 deletions
4
lib/markdownlint.d.ts
vendored
4
lib/markdownlint.d.ts
vendored
|
@ -263,6 +263,10 @@ type Rule = {
|
|||
* Rule tag(s).
|
||||
*/
|
||||
tags: string[];
|
||||
/**
|
||||
* True if asynchronous.
|
||||
*/
|
||||
asynchronous?: boolean;
|
||||
/**
|
||||
* Rule implementation.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue