gems rubocop 1.18.4
RuboCop 1.18.4

latest releases: 1.68.0, 1.67.0, 1.66.1...
3 years ago

New features

  • #9930: Support Ruby 2.7's pattern matching for Lint/DuplicateBranch cop. (@koic)

Bug fixes

  • #9938: Fix an incorrect auto-correct for Layout/LineLength when a heredoc is used as the first element of an array. (@koic)
  • #9940: Fix an incorrect auto-correct for Style/HashTransformValues when value is a hash literal for _.to_h{...}. (@koic)
  • #9752: Improve error message for top level department used in configuration. (@jonas054)
  • #9933: Fix GitHub Actions formatter when running in non-default directory. (@ojab)
  • #9922: Make better auto-corrections in Style/DoubleCopDisableDirective. (@jonas054)
  • #9848: Fix handling of comments in Layout/ClassStructure auto-correct. (@jonas054)
  • #9926: Fix an incorrect auto-correct for Style/SingleLineMethods when method body is enclosed in parentheses. (@koic)
  • #9928: Fix an infinite loop error and a false auto-correction behavior for Layout/EndAlignment when using operator methods and EnforcedStyleAlignWith: variable. (@koic)
  • #9434: Fix false positive for setter calls in Layout/FirstArgumentIndentation. (@jonas054)

Don't miss a new rubocop release

NewReleases is sending notifications on new releases.