Back to Rubocop

V1.73.1

relnotes/v1.73.1.md

1.86.11.2 KB
Original Source

Bug fixes

  • #13920: Fix an error for Lint/MixedCaseRange when /[[ ]]/ is used. (@koic)
  • #13912: Fix wrong autocorrect for Lint/EmptyConditionalBody when assigning to a variable with only a single branch. (@earlopain)
  • #13913: Fix false positives for Style/RedundantCondition when using when true is used as the true branch and the condition is not a predicate method. (@koic)
  • #13909: Fix false positive with Layout/ClosingParenthesisIndentation when first parameter is a hash. (@tejasbubane)
  • #13915: Fix writing generics type of rbs-inline annotation for nested class in Style/CommentedKeyword. (@dak2)
  • #13916: Fix Lint/LiteralAsCondition acting on the right hand side of && nodes. (@zopolis4)