diff --git a/lib/shared/config-validator.js b/lib/shared/config-validator.js index 0829bf9..bce7674 100644 --- a/lib/shared/config-validator.js +++ b/lib/shared/config-validator.js @@ -149,7 +149,7 @@ export default class ConfigValidator { const validateRule = ruleValidators.get(rule); if (validateRule) { - const mergedOptions = deepMergeArrays(rule.meta?.defaultOptions, localOptions); + const mergedOptions = deepMergeArrays(rule.meta && rule.meta.defaultOptions, localOptions); validateRule(mergedOptions);