diff --git a/stylelint-formatter-rdjson/index.js b/stylelint-formatter-rdjson/index.js index 3766770..4a404aa 100644 --- a/stylelint-formatter-rdjson/index.js +++ b/stylelint-formatter-rdjson/index.js @@ -33,7 +33,7 @@ module.exports = function (results, returnValue) { severity: warning.severity.toUpperCase(), code: { value: warning.rule, - url: returnValue.ruleMetadata[warning.rule]?.url + url: returnValue.ruleMetadata?.[warning.rule]?.url } };