mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-20 07:50:12 +01:00
Merge aa733719b0 into 071bba88fc
This commit is contained in:
commit
1c2241fc62
2 changed files with 27 additions and 7 deletions
|
|
@ -133,7 +133,7 @@ function lintContent(content, config, frontMatter) {
|
|||
// Configure rule
|
||||
params.options = mergedRules[rule.name];
|
||||
var errors = [];
|
||||
rule.func(params, errors);
|
||||
rule.func(params, errors, config);
|
||||
// Record any errors
|
||||
if (errors.length) {
|
||||
errors.sort(numberComparison);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue