Add markdownlint "version" property to custom rule "params" object in case it is ever necessary for a rule to specialize its behavior.

This commit is contained in:
David Anson 2024-09-29 18:11:41 -07:00
parent ee50519e00
commit d3819c4e75
6 changed files with 39 additions and 5 deletions

View file

@ -77,6 +77,10 @@ type RuleParams = {
* Rule configuration.
*/
config: RuleConfiguration;
/**
* Version of the markdownlint library.
*/
version: string;
};
/**
* Markdown parser data.