Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix #7592] Line end concatenation indentation cop #9883

Merged
merged 3 commits into from Jun 23, 2021

Commits on Jun 20, 2021

  1. [Fix rubocop#7592] Add cop Layout/LineEndStringConcatenationIndentation

    The cop Layout/MultilineOperationIndentation doesn't view the
    backslash as an operator, which is correct. Therefore, a new cop
    is needed to inspect character literals broken up into multiple
    lines with backslashes at the ends of the lines.
    
    The new cop deals exclusively with string literals, not any other
    constructs where backslashes might be used to "glue" lines
    together.
    jonas054 committed Jun 20, 2021
    Configuration menu
    Copy the full SHA
    ac1c62f View commit details
    Browse the repository at this point in the history
  2. Run rubocop -a

    jonas054 committed Jun 20, 2021
    Configuration menu
    Copy the full SHA
    0d96263 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bbc25d3 View commit details
    Browse the repository at this point in the history