#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)
#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][])
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)
Bumps rubocop from 1.18.3 to 1.18.4.
Release notes
Sourced from rubocop's releases.
Changelog
Sourced from rubocop's changelog.
Commits
d6fb135
Cut 1.18.46da5ca1
Update Changelog4874caa
[Fix #9940] Fix an incorrect auto-correct forStyle/HashTransformValues
36029ff
Support Ruby 2.7's pattern matching forLint/DuplicateBranch
dfb9c26
[Fix #9752] Improve error message for top level department0886479
Fix an incorrect auto-correct forLayout/LineLength
3907e07
Merge pull request #9932 from koic/fix_false_autocorrection_for_layout_end_al...f2c5f0e
Useoffense
instead ofoffence
82d7122
Merge pull request #9937 from jonas054/9922_fix_DoubleCopDisableDirective49b3999
[Fix #9922] Replace extra disable directives with commaDependabot 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)