github rubocop/rubocop v0.59.1
RuboCop 0.59.1

latest releases: v1.63.5, v1.63.3, v1.63.4...
5 years ago

Bug fixes

  • #6267: Fix undefined method 'method_name' for Rails/FindEach. (@Knack)
  • #6278: Fix false positive for Naming/FileName when investigating gemspecs. (@kddeisz)
  • #6256: Fix false positive for Naming/FileName when investigating dotfiles. (@sinsoku)
  • #6242: Fix Style/EmptyCaseCondition auto-correction removes comment between case and first when. (@koic)
  • #6261: Fix undefined method error for Style/RedundantBegin when calling super with a block. (@eitoball)
  • #6263: Fix an error Layout/EmptyLineAfterGuardClause when guard clause is after heredoc including string interpolation. (@koic)
  • #6281: Fix false negative in Style/MultilineMethodSignature. (@drenmi)
  • #6264: Fix an incorrect autocorrect for Layout/EmptyLineAfterGuardClause cop when if condition is after heredoc. (@koic)

Changes

  • #6272: Make Lint/UnreachableCode detect exit, exit! and abort. (@hoshinotsuyoshi)
  • #6295: Exclude #=== from Naming/BinaryOperatorParameterName. (@zverok)
  • Add + to allowed file names of Naming/FileName. (@yensaki)

Don't miss a new rubocop release

NewReleases is sending notifications on new releases.