Bug fixes
- #14148: Fix an infinite loop error for
Layout/SpaceAfterSemicolon
withLayout/SpaceBeforeSemicolon
when a sequence of semicolons appears. (@koic) - #14145: Fix
Lint/ArrayLiteralInRegexp
cop error on empty interpolation. (@viralpraxis) - #14072: Fix autocorrect issue in
Layout/HashAlignment
. (@jonas054) - #14131: Fix false positives for
Style/ArgumentsForwarding
when using anonymous block argument forwarding to a method with a block. (@koic) - #14140: Fix
Layout/LeadingCommentSpace
to allow splitting long inline RBS comment signatures across multiple lines. (@Morriar) - #14147: Fix
Lint/LiteralAsCondition
cop error onif
without body. (@viralpraxis) - #14151: Fix
Lint/Void
cop error on nested emptybegin
. (@viralpraxis) - #13547: Fix
Style/IdenticalConditionalBranches
cop failure in case ofif
node with implicitthen
. (@viralpraxis) - #14146: Fix
Style/MethodCallWithArgsParentheses
cop error on complex numbers whenEnforcedStyle
is set toomit_parentheses
. (@viralpraxis) - #14137: Fix
Style/TrailingCommaInArguments
cop error ifEnforcedStyleForMultiline
is set tocomma
. (@viralpraxis)