mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-21 21:30:47 +02:00
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:
parent
ee50519e00
commit
d3819c4e75
6 changed files with 39 additions and 5 deletions
|
@ -136,7 +136,8 @@ const testRule: markdownlint.Rule = {
|
|||
"frontMatterLines": [
|
||||
"three"
|
||||
],
|
||||
"config": options.config
|
||||
"config": options.config,
|
||||
"version": "1.2.3"
|
||||
};
|
||||
assert(ruleParams);
|
||||
let ruleOnErrorInfo: markdownlint.RuleOnErrorInfo;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue