Currently there is a guard for messages which report before the code block, but not if the message reports for a line after the code block.
This leads to an error in the block.rangeMap[lineInCode].indent access,
as block.rangeMap[lineInCode] evaluates to undefined.
I am willing to create an PR for this.
Minimal Reproduction
Markdown (I had to create an invalid document as the markdown renderer does not support nested code blocks):
Issue
Currently there is a guard for messages which report before the code block, but not if the message reports for a line after the code block. This leads to an error in the block.rangeMap[lineInCode].indent access, as block.rangeMap[lineInCode] evaluates to undefined. I am willing to create an PR for this.
Minimal Reproduction
Markdown (I had to create an invalid document as the markdown renderer does not support nested code blocks):
Rule: