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

Make IfUnlessModifier respect rubocop:disable comments #7449

Merged

Commits on Oct 20, 2019

  1. Make IfUnlessModifier respect rubocop:disable comments

    When Style/IfUnlessModifier decides that a line on modifier form is too long
    and that it should be written on normal form, it must respect comments that
    disable the Metrics/LineLength cop for the line in question. If that cop is
    disabled, then there can be no offense.
    jonas054 committed Oct 20, 2019
    Copy the full SHA
    4cccae1 View commit details
    Browse the repository at this point in the history