Skip to content

false positive RuboCop: Style/RedundantLineContinuation: Redundant line continuation. #163

@wrmk

Description

@wrmk

I am faced with a strange problem, not sure that this is related to this gem, but I'd like to describe it.
Near 2 weeks ago the command slim-lint . started to return false positive results:
RuboCop: Style/RedundantLineContinuation: Redundant line continuation.

examples:

  = card_edit( \
      card_name: "header",
      target_model: @object,
      target_url: update_header_object_path(@object),
    ) do |form|
    = form.text_field :display_name, label: t(".object_name")
= select_tag :status,
              options_for_select(Object::STATUSES.map do |status| \
                [t(".statuses.#{status}"), status] \
              end),
              class: "form-control form-select text-truncate",
              autocomplete: "off",
              prompt: ""
- href = tab_very_long_helper_path_name_object_url( \
    object.id, object.very_long_method_name, tab: :info)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions