Skip to content

Bump rubocop from 1.18.3 to 1.18.4

George Koltsov requested to merge dependabot/bundler/rubocop-1.18.4 into main

Created by: dependabot[bot]

Bumps rubocop from 1.18.3 to 1.18.4.

Release notes

Sourced from rubocop's releases.

RuboCop 1.18.4

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)
Changelog

Sourced from rubocop's changelog.

1.18.4 (2021-07-23)

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][])
Commits
  • d6fb135 Cut 1.18.4
  • 6da5ca1 Update Changelog
  • 4874caa [Fix #9940] Fix an incorrect auto-correct for Style/HashTransformValues
  • 36029ff Support Ruby 2.7's pattern matching for Lint/DuplicateBranch
  • dfb9c26 [Fix #9752] Improve error message for top level department
  • 0886479 Fix an incorrect auto-correct for Layout/LineLength
  • 3907e07 Merge pull request #9932 from koic/fix_false_autocorrection_for_layout_end_al...
  • f2c5f0e Use offense instead of offence
  • 82d7122 Merge pull request #9937 from jonas054/9922_fix_DoubleCopDisableDirective
  • 49b3999 [Fix #9922] Replace extra disable directives with comma
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Merge request reports