Closed DanTsk closed 4 years ago
For example, ESLint babel/semi rule doesn't have docs property at all. This is rule metadata by ruleId:
babel/semi
docs
ruleId
{ messages: [Object: null prototype] { missingSemi: 'Missing semicolon.', extraSemi: 'Extra semicolon.' }, fixable: 'code' }
So eslint-formatter-rdjson is failing with TypeError: Cannot read property 'url' of undefined. https://github.com/reviewdog/action-eslint/blob/b502e5047e010ea6140784bbc7398a46ea4515f2/eslint-formatter-rdjson/index.js#L96 Such cases must be handled.
eslint-formatter-rdjson
TypeError: Cannot read property 'url' of undefined
@haya14busa can you merge PR and fix this issue, please?
For example, ESLint
babel/semi
rule doesn't havedocs
property at all. This is rule metadata byruleId
:So
eslint-formatter-rdjson
is failing withTypeError: Cannot read property 'url' of undefined
. https://github.com/reviewdog/action-eslint/blob/b502e5047e010ea6140784bbc7398a46ea4515f2/eslint-formatter-rdjson/index.js#L96 Such cases must be handled.