rubocop / rubocop

A Ruby static code analyzer and formatter, based on the community Ruby style guide.

Home Page:https://docs.rubocop.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

False positive for `Layout/LineEndStringConcatenationIndentation` with Prism

andyw8 opened this issue · comments

Prism v0.27.0, RuboCop 1.63.2

puts "\na"\
  "#{1 + 1}"

With parser_prism this fails with:

Layout/LineEndStringConcatenationIndentation: Indent the first part of a string concatenated with backslash.

cc @kddnewton