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
There are multiple scenarios where the Layout/RescueEnsureAlignment cop urges me to align my ensure block in an ugly way. I vote to disable the cop for our makandra fork.
Examples
For variable assignments, the cop tries to align the ensure block with the do keyword.
my_block = do
# do stuff
ensure
# other stuff
end
For memoized method, the cop tries to align the ensure block with the def keyword.
memoized def foo
# do stuff
ensure
# other stuff
end
The text was updated successfully, but these errors were encountered:
So this is a bug in Rubocop (maybe related to rubocop/rubocop#7531 or rubocop/rubocop#7470) and we want to temporary disable it until it's fixed in the upstream?
There are multiple scenarios where the
Layout/RescueEnsureAlignment
cop urges me to align my ensure block in an ugly way. I vote to disable the cop for our makandra fork.Examples
ensure
block with thedo
keyword.ensure
block with thedef
keyword.The text was updated successfully, but these errors were encountered: