Rename rule params.options to .config for API consistency.

This commit is contained in:
David Anson 2018-01-17 20:52:54 -08:00
parent a0e3b4db90
commit f79cdcb0d4
3 changed files with 29 additions and 29 deletions

View file

@ -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({