development-dependency: bump rubocop from 1.18.3 to 1.18.4
Bumps rubocop from 1.18.3 to 1.18.4.
Release notes
Sourced from rubocop's releases.
RuboCop 1.18.4
New features
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 andEnforcedStyleAlignWith: 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
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 andEnforcedStyleAlignWith: 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 forStyle/HashTransformValues
-
36029ff
Support Ruby 2.7's pattern matching forLint/DuplicateBranch
-
dfb9c26
[Fix #9752] Improve error message for top level department -
0886479
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_DoubleCopDisableDirective -
49b3999
[Fix #9922] Replace extra disable directives with comma - Additional commits viewable in compare view
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
-
@dependabot-bot rebase
will rebase this MR -
@dependabot-bot recreate
will recreate this MR rewriting all the manual changes and resolving conflicts