Closed Earlopain closed 9 months ago
Do you have WarnInvalid
set to true? (It's the default value) https://github.com/rubocop/rubocop-md#configuration
Could you please provide a full Markdown snippet and your RuboCop Markdown configuration?
Yes, of course. I've uploaded the sample code as an attachment since I don't know how to properly escape the syntax here:
require:
- rubocop-md
AllCops:
NewCops: enable
Looking at the processed source it's pretty clear what's going on. I was trying to give this a shot myself but don't know how to resolve this unfortunatly.
Thanks for helping with investigation. Fixed and released in 1.2.2.
Thanks!
Examining a file which just contains the character ` is a
Lint/Syntax
offense for rubocop, but the same thing in a ruby codeblock passes.This isn't just a hypothetical problem, I have come across code like the following where the backtick was inserted in place of a space for some reason. This produces no offense:
Subsequent codeblocks are not/wrongly being linted, this in a following codeblock produces no offense as well: