mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-17 06:20:12 +01: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
|
|
@ -231,7 +231,7 @@ function lintContent(
|
|||
rules.forEach(function forRule(rule) {
|
||||
// Configure rule
|
||||
var ruleName = rule.names[0];
|
||||
params.options = mergedRules[ruleName];
|
||||
params.config = mergedRules[ruleName];
|
||||
var errors = [];
|
||||
function onError(errorInfo) {
|
||||
errors.push({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue