gems rubocop 1.29.0
RuboCop 1.29

latest releases: 1.66.1, 1.66.0, 1.65.1...
2 years ago

New features

Bug fixes

  • #10586: Fix a false positive for Style/DoubleNegation when using define_method or define_singleton_method. (@ydah)
  • #10579: Fix a false positive for Style/FetchEnvVar when calling a method with safe navigation`. (@koic)
  • #10581: Fix a false positive for Style/FetchEnvVar when comparing with ENV['TERM']. (@koic)
  • #10589: Fix autocorrect for Style/RaiseArgs with EnforcedStyle: compact and exception object is assigned to a local variable. (@nobuyo)
  • #10325: Enhance Style/RedundantCondition by considering the case that variable assignments in each branch. (@nobuyo)
  • #10592: Fix infinite loop on Style/MultilineTernaryOperator if using assignment method and condition/branch is multiline. (@nobuyo)
  • #10536: Fix validation for command-line options combination of --display-only-fail-level-offenses and --auto-correct. (@nobuyo)

Changes

  • #10577: (Compatibility) Drop support for Ruby 2.5 and JRuby 9.2 (CRuby 2.5 compatible). (@koic)
  • #10585: Enhance the autocorrect for Style/FetchEnvVar. (@johnny-miyake)
  • #10577: (Breaking) Retire Lint/UselessElseWithoutRescue cop. (@koic)

Don't miss a new rubocop release

NewReleases is sending notifications on new releases.