gems rubocop 1.76.2
RuboCop v1.76.2

latest releases: 1.80.2, 1.80.1, 1.80.0...
2 months ago

Bug fixes

  • #14273: Fix an error for Lint/EmptyInterpolation when using a boolean literal inside interpolation. (@koic)
  • #14260: Fix an error for Lint/UselessDefaultValueArgument when fetch call without a receiver. (@koic)
  • #14267: Fix an error for Style/ConditionalAssignment cop when using one-line branches. (@viralpraxis)
  • #14275: Fix false positives for Style/RedundantParentheses when using parenthesized one-line pattern matching in endless method definition. (@koic)
  • #14269: Fix false positives for Style/RedundantSelf when local variable assignment name is used in nested if. (@koic)
  • #14286: Fix incorrect autocorrect for Lint/SafeNavigationChain when a safe navigation is used on the left-hand side of a - operator when inside an array. (@koic)

Changes

  • #14232: Add AllowedPatterns and AllowBangMethods configuration to Naming/PredicateMethod. (@dvandersluis)
  • #14268: Register operator expression range boundaries as offenses in Lint/AmbiguousRange. (@lovro-bikic)
  • #14264: Offend access modifiers used on top-level in Lint/UselessAccessModifier. (@lovro-bikic)
  • #14278: Register conditions wrapped in parentheses as offenses in Style/MinMaxComparison. (@lovro-bikic)

Don't miss a new rubocop release

NewReleases is sending notifications on new releases.