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

Enable line continuation cops #585

Merged
merged 3 commits into from Oct 30, 2023
Merged

Enable line continuation cops #585

merged 3 commits into from Oct 30, 2023

Conversation

sambostock
Copy link
Contributor

This enables

  • Layout/LineContinuationLeadingSpace
    # bad - space at start of second part of string
    "blah" \
      " blah"
      
    # good - space at end of first part of string
    "blah " \
      "blah"
  • Layout/LineContinuationSpacing
    # bad - no space before \
    "blah "\
      "blah
      
    # good - exactly one space before \
    "blah " \
      "blah

sambostock and others added 2 commits October 30, 2023 14:54
This automated commit dumps the contents of the full RuboCop config.
[dependabot skip]
@sambostock sambostock requested a review from a team as a code owner October 30, 2023 18:57
@github-actions github-actions bot added the config change Changes the Rubocop config by enabling, disabling, or reconfiguring one or many cops label Oct 30, 2023
@sambostock sambostock merged commit 949500a into main Oct 30, 2023
20 checks passed
@sambostock sambostock deleted the enable-continuation-cops branch October 30, 2023 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
config change Changes the Rubocop config by enabling, disabling, or reconfiguring one or many cops
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants