github rubocop/rubocop v0.63.0
RuboCop 0.63

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

New features

Bug fixes

  • #6627: Fix handling of hashes in trailing comma. (@abrom)
  • #6623: Fix heredoc detection in trailing comma. (@palkan)
  • #6100: Fix a false positive in Naming/ConstantName cop when rhs is a conditional expression. (@tatsuyafw)
  • #6526: Fix a wrong line highlight in Lint/ShadowedException cop. (@tatsuyafw)
  • #6617: Prevent traversal error on infinite ranges. (@drenmi)
  • #6625: Revert the "auto-exclusion of files ignored by git" feature. (@bbatsov)
  • #4460: Fix the determination of unsafe auto-correct in Style/TernaryParentheses. (@jonas054)
  • #6651: Fix auto-correct issue in Style/RegexpLiteral cop when there is string interpolation. (@roooodcastro)
  • #6670: Fix a false positive for Style/SafeNavigation when a method call safeguarded with a negative check for the object. (@koic)
  • #6633: Fix Lint/SafeNavigation complaining about use of to_d. (@tejasbubane)
  • #6575: Fix Naming/PredicateName suggesting invalid rename. (@tejasbubane)
  • #6673: Fix Style/DocumentationMethod cop to recognize documentation comments for def inline with module_function. (@tejasbubane)

Changes

  • #6607: Improve CLI usage message for --stdin option. (@jaredbeck)
  • #6641: Specify Performance/RangeInclude as unsafe because Range#include? and Range#cover? are not equivalent. (@koic)
  • #6636: Move FlipFlop cop from Style to Lint department because flip-flop is deprecated since Ruby 2.6.0. (@koic)
  • #6661: Abandon making frozen string literals default for Ruby 3.0. (@koic)

Don't miss a new rubocop release

NewReleases is sending notifications on new releases.