global

def file_offense_cache(file)

NOTE: we should involve preprocessing in RuboCop::CachedData#deserialize_offenses
Do not cache markdown files, 'cause cache doesn't know about processing.
def file_offense_cache(file)
  return yield if RuboCop::Markdown.markdown_file?(file)
  super
end