mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-22 05:40:48 +02:00
Rename rule params.options to .config for API consistency.
This commit is contained in:
parent
a0e3b4db90
commit
f79cdcb0d4
3 changed files with 29 additions and 29 deletions
|
@ -1149,7 +1149,7 @@ module.exports.doc = function doc(test) {
|
|||
test.equal(token.content, rule.names[0] + " - " + rule.desc,
|
||||
"Rule mismatch.");
|
||||
ruleUsesParams = rule.func.toString()
|
||||
.match(/params\.options\.[_a-z]*/gi);
|
||||
.match(/params\.config\.[_a-z]*/gi);
|
||||
if (ruleUsesParams) {
|
||||
ruleUsesParams = ruleUsesParams.map(function forUse(use) {
|
||||
return use.split(".").pop();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue