You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #9678, @koic raised a concern that users might prefer to keep existing line breaks within blocks when using the new cop Layout/RedundantLineBreak. A configuration parameter should be added to control whether blocks are inspected or not by this cop.
I have a fix for this in the works. A PR is coming up.
The text was updated successfully, but these errors were encountered:
jonas054
added a commit
to jonas054/rubocop
that referenced
this issue
Apr 10, 2021
…tLineBreak
Set the default value for this new configuration option to `false`, since we
suspect that many users might consider the `do`..`end` variant with line
breaks more readable.
For RuboCop's own sources we set it to `true`, i.e., the same behavior as
before the parameters existed, at least for now.
In #9678, @koic raised a concern that users might prefer to keep existing line breaks within blocks when using the new cop
Layout/RedundantLineBreak
. A configuration parameter should be added to control whether blocks are inspected or not by this cop.I have a fix for this in the works. A PR is coming up.
The text was updated successfully, but these errors were encountered: