Back to Rubocop

V1.76.1

relnotes/v1.76.1.md

1.86.11.4 KB
Original Source

Bug fixes

  • #14245: Fix an error for Lint/EmptyInterpolation when using primitives in interpolation. (@ka8725)
  • #14233: Fix an error for Style/SafeNavigation when using ternary expression with index access call. (@koic)
  • #14236: Fix an error for Style/SafeNavigation when using ternary expression with operator method call. (@koic)
  • #14249: Fix false positives for Style/RedundantArrayFlatten when Array#join is used with an argument other than the default nil. (@koic)
  • #14239: Fix false positives for Style/RedundantParentheses when using one-line in pattern matching in operator. (@koic)
  • #14240: Fix Naming/PredicateMethod cop error on empty parentheses method body. (@viralpraxis)
  • #14235: Fix Style/SafeNavigation cop error on indexed assignment in ternary expression. (@viralpraxis)
  • #14247: Fix Style/SafeNavigation invalid autocorrection on double colon method call. (@viralpraxis)