This commit is contained in:
Rodney Rehm 2015-09-25 05:11:42 +00:00
commit 1c2241fc62
2 changed files with 27 additions and 7 deletions

View file

@ -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);