Skip to content

Upgrade rubocop to version 0.55.0

Created by: depfu[bot]

We've upgraded a dependency and all tests pass. \o/

name version specification new version
rubocop ~> 0.54.0 0.55.0

You should probably take a good look at this before merging this pull request, of course.

What changed?

️ rubocop ( → 0.55.0) · Repo · Changelog

Release Notes

From the Github release:

New features

Bug fixes

  • #5759: Fix Performance/RegexpMatch cop not correcting negated match operator. (@bdewater)
  • #5726: Fix false positive for :class_name option in Rails/InverseOf cop. (@bdewater)
  • #5686: Fix a regression for Style/SymbolArray and Style/WordArray for multiline Arrays. (@istateside)
  • #5730: Stop Rails/InverseOf cop allowing inverse_of: nil to opt-out. (@bdewater)
  • #5561: Fix Lint/ShadowedArgument false positive with shorthand assignments. (@akhramov)
  • #5403: Fix Naming/HeredocDelimiterNaming blacklist patterns. (@mcfisch)
  • #4298: Fix auto-correction of Performance/RegexpMatch to produce code that safe guards against the receiver being nil. (@rrosenblum)
  • #5738: Make Rails/HttpStatus ignoring hash order to fix false negative. (@pocke)
  • #5720: Fix false positive for Style/EmptyLineAfterGuardClause when guard clause is after heredoc. (@koic)
  • #5760: Fix incorrect offense location for Style/EmptyLineAfterGuardClause when guard clause is after heredoc argument. (@koic)
  • #5764: Fix Style/Unpackfirst false positive of unpack('h*').take(1). (@parkerfinch)
  • #5766: Update Style/FrozenStringLiteralComment auto-correction to insert a new line between the comment and the code. (@rrosenblum)
  • #5551: Fix Lint/Void not detecting void context in blocks with single expression. (@Darhazer)

Changes

  • #5752: Add String#delete_{prefix,suffix} to Lint/Void cop. (@bdewater)
  • #5734: Add by, on, in and at to allowed names of Naming/UncommunicativeMethodParamName cop in default config. (@AlexWayfer)
  • #5666: Add spaces as an EnforcedStyle option to Layout/SpaceInsideParens, allowing you to enforce spaces inside of parentheses. (@joshuapinter)
  • #4257: Allow specifying module name in Metrics/BlockLength's ExcludedMethods configuration option. (@akhramov)
  • #4753: Add IgnoredMethods option to Style/MethodCallWithoutArgsParentheses cop. (@Darhazer)
  • #4517: Add option to allow trailing whitespaces inside heredoc strings. (@Darhazer)
  • #5652: Make Style/OptionHash aware of implicit parameter passing to super. (@Wei-LiangChew)
  • #5451: When using --auto-gen-config, do not ouput offenses unless the --output-offenses flag is also passed. (@drewpterry)
Commits

See the full diff on Github. The new version differs by 53 commits:


Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

Depfu Status

Merge request reports

Loading