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

Add Layout/LineContinuationSpacing cop #10717

Merged
merged 2 commits into from
Jun 19, 2022

Commits on Jun 17, 2022

  1. Add new Layout/LineContinuationSpacing cop

    When a line is too long, you can make it continue onto the next line by
    ending the first line with a backslash. This new cop checks how many
    spaces are in front of that backslash. By default it will allow only
    exactly one space, but the cop can be configured to instead allow
    exactly zero spaces.
    bquorning committed Jun 17, 2022
    Configuration menu
    Copy the full SHA
    3205ca3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    27c4e06 View commit details
    Browse the repository at this point in the history