Skip to content

RuboCop 1.39

Compare
Choose a tag to compare
@bbatsov bbatsov released this 14 Nov 06:12
· 1729 commits to master since this release

New features

Bug fixes

  • #11150: Improve Style/RedundantRegexpEscape to catch unnecessarily escaped hyphens within a character class. (@si-lens)
  • #11168: Fix an incorrect autocorrect for Style/ClassEqualityComparison when using instance variable comparison in module. (@koic)
  • #11176: Fix a false positive cases for Lint/DuplicateMethods when using duplicate nested method. (@koic)
  • #11164: Suppress "RuboCop server starting..." message with --server --format json. (@koic)
  • #11156: Fix Style/OperatorMethodCall autocorrection when operators are chained. (@gsamokovarov)
  • #11139: Fix a false negative for Style/HashEachMethods when using each with a symbol proc argument. (@ydah)
  • #11161: Fix a false positive for Style/HashAsLastArrayItem when using double splat operator. (@koic)
  • #11151: Fix a false positive for Lint/SuppressedException. (@akihikodaki)
  • #11123: Fix autocorrection bug for Style/StringLiterals when using multiple escape characters. (@si-lens)
  • #11165: Fix a false positive for Style/RedundantEach when any method is used between methods containing each in the method name. (@koic)
  • #11177: Fix a false positive for Style/ObjectThen cop with TargetRubyVersion < 2.6. (@epaew)
  • #11173: Fix an incorrect autocorrect for Style/CollectionCompact when using reject with block pass arg and no parentheses. (@koic)
  • #11137: Fix a false positive for Style/RedundantEach when using a symbol proc argument. (@ydah)
  • #11142: Fix Style/RedundantEach for non-chained each_ calls. (@fatkodima)

Changes