github rubocop/rubocop v1.15.0
RuboCop 1.15

latest releases: v1.64.1, v1.64.0, v1.63.5...
3 years ago

New features

Bug fixes

  • #9749: Fix autocorrection for Layout/LineLength to not move the first argument of an unparenthesized send node to the next line, which changes behaviour. (@dvandersluis)
  • #9799: Fix invalid line splitting by Layout/LineLength for send nodes with heredoc arguments. (@dvandersluis)
  • #9773: Fix Style/EmptyLiteral to not register offenses for String.new when Style/FrozenStringLiteral is enabled. (@dvandersluis)
  • #9771: Change AllowDSLWriters to true by default for Style/TrivialAccessors. (@koic)
  • #9777: Fix an incorrect auto-correct for Style/RedundantBegin when using multi-line if in begin block. (@koic)
  • #9791: Fix a false negative for Layout/IndentationWidth when using ensure in do ... end block. (@koic)
  • #9766: Fix a clobbering error for Style/ClassAndModuleChildren cop with compact style. (@tejasbubane)
  • #9767: Fix Style/ClassAndModuleChildren cop to preserve comments. (@tejasbubane)
  • #9792: Fix false positive for Lint/Void cop with ranges. (@tejasbubane)

Changes

  • #9770: Update Lint/EmptyBlock to handle procs the same way as lambdas. (@dvandersluis)
  • #9776: Update Style/NilLambda to handle procs as well. (@dvandersluis)
  • #9744: The parallel flag will now be automatically ignored when combined with --cache false. Previously, an error was raised and execution stopped. (@rrosenblum)

Don't miss a new rubocop release

NewReleases is sending notifications on new releases.