gems rubocop 1.79.1
RuboCop v1.79.1

latest releases: 1.80.2, 1.80.1, 1.80.0...
one month ago

Bug fixes

  • #14390: Fix wrong autocorrect for Style/ArgumentsForwarding when the method arguments contain *, ** or &, and the method call contains self as the first argument. (@earlopain)
  • #14399: Fix false positives for Layout/EmptyLinesAfterModuleInclusion when prepend is used with block methods. (@koic)
  • #14396: Fix a false positive for Style/RedundantParentheses when parentheses are used around a one-line rescue expression inside a ternary operator. (@koic)
  • #14383: Fix false positives for Lint/UselessAssignment when duplicate assignments in if branch inside a loop. (@koic)
  • #14394: Fix false positive for Lint/UselessAssignment with retry in rescue branch. (@earlopain)
  • #14386: Fix false positives for Style/RedundantParentheses when parentheses are used around a one-line rescue expression inside array or hash literals. (@koic)
  • #14395: Fix LSP handling of URI-encoded paths with spaces. (@hakanensari)

Changes

  • #14403: Enhance Naming/MethodName cop to detect offenses within alias and alias_method calls. (@viralpraxis)
  • #14389: Add support for || to Lint/LiteralAsCondition. (@zopolis4)

Don't miss a new rubocop release

NewReleases is sending notifications on new releases.