Bug fixes
- #12151: Make
Layout/EmptyLineAfterGuardClause
allow:nocov:
directive after guard clause. (@koic) - #12195: Fix a false negative for
Layout/SpaceAfterNot
when a newline is present after!
. (@ymap) - #12192: Fix a false positive for
Layout/RedundantLineBreak
when using quoted symbols with a single newline. (@ymap) - #12190: Fix a false positive for
Layout/SpaceAroundOperators
when aligning operators vertically. (@koic) - #12171: Fix a false positive for
Style/ArrayIntersect
when using block argument forEnumerable#any?
. (@koic) - #12172: Fix a false positive for
Style/EmptyCaseCondition
when usingreturn
,break
,next
or method call before empty case condition. (@koic) - #12162: Fix an error for
Bundler/DuplicatedGroup
when there's a duplicate set of groups and thegroup
value contains a splat. (@koic) - #12182: Fix an error for
Lint/UselessAssignment
when variables are assigned using chained assignment and remain unreferenced. (@koic) - #12181: Fix an incorrect autocorrect for
Lint/UselessAssignment
when variables are assigned with sequential assignment using the comma operator and unreferenced. (@koic) - #12187: Fix an incorrect autocorrect for
Style/SoleNestedConditional
when comment is in an empty nestedif
body. (@ymap) - #12183: Fix an incorrect autocorrect for
Style/MultilineTernaryOperator
when returning a multiline ternary operator expression with safe navigation method call. (@koic) - #12168: Fix bug in
Style/ArgumentsForwarding
when there are repeated send nodes. (@owst) - #12185: Set target version for
Layout/HeredocIndentation
. (@tagliala)