class ERBLint::Linters::CloseButtonComponentMigrationCounter

def add_correction(tag, tag_tree)

Overriding the basic correction since this component will rewrite the whole tag block.
def add_correction(tag, tag_tree)
  offense_loc = tag.loc.with(end_pos: tag_tree[:closing].loc.to_range.last)
  add_offense(offense_loc, tag_tree[:message], tag_tree[:correction])
end