class ERBLint::Linters::BaseLinter
def correct_counter(corrector, processed_source, offense)
def correct_counter(corrector, processed_source, offense) if processed_source.file_content.include?(counter_disable) # update the counter if exists corrector.replace(offense.source_range, offense.context) else # add comment with counter if none corrector.insert_before(processed_source.source_buffer.source_range, "#{offense.context}\n") end end