github rubocop/rubocop v1.26.0
RuboCop 1.26

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

New features

  • #10419: Add new Style/NestedFileDirname cop. (@koic)
  • #10433: Support TargetRubyVersion 3.2 (experimental). (@koic)

Bug fixes

  • #10406: Fix a false positive for Lint/InheritException when inheriting a standard lib exception class that is not a subclass of StandardError. (@koic)
  • #10421: Make Style/DefWithParentheses aware of endless method definition. (@koic)
  • #10401: Fix a false positive for Style/HashSyntax when local variable hash key and hash value are the same. (@koic)
  • #10424: Fix a false positive for Security/YamlLoad when using Ruby 3.1+ (Psych 4). (@koic)
  • #10446: Lint/RedundantDirGlobSort unset SafeAutoCorrect. (@friendlyantz)
  • #10403: Fix an error for Style/StringConcatenation when string concatenation with multiline heredoc text. (@koic)
  • #10432: Fix an error when using regexp with non-encoding option. (@koic)
  • #10415: Fix an error for Lint/UselessTimes when using 1.times with method chain. (@koic)

Changes

  • #10408: Mark Lint/InheritException as unsafe auto-correction. (@koic)
  • #10407: Change EnforcedStyle from runtime_error to standard_error for Lint/InheritException. (@koic)
  • #10414: Update auto-gen-config's auto-correction comments to be more clear. (@maxjacobson)
  • #10427: Mark Style/For as unsafe auto-correction. (@issyl0)
  • #10410: Improve help string for --fail-level CLI option. (@tejasbubane)

Don't miss a new rubocop release

NewReleases is sending notifications on new releases.