dep: bump rubocop from 1.42.0 to 1.43.0
Bumps rubocop from 1.42.0 to 1.43.0.
Release notes
Sourced from rubocop's releases.
RuboCop 1.43
New features
- #11359: Add new
Lint/UselessRescue
cop. (@fatkodima
)- #11389: Add autocorrect for
Style/MissingElse
. (@FnControlOption
)Bug fixes
- #11386: Fix a false positive for
Style/OperatorMethodCall
when using anonymous forwarding. (@koic
)- #11409: Fix an incorrect autocorrect for
Style/HashSyntax
when using hash value omission andEnforcedStyle: no_mixed_keys
. (@koic
)- #11405: Fix undefined method `range_between' for Style/WhileUntilModifier. (
@such
)- #11374: Fix an error for
Style/StringHashKeys
when using invalid symbol in encoding UTF-8 as keys. (@koic
)- #11392: Fix an incorrect autocorrect for
Style/RedundantDoubleSplatHashBraces
using double splat in double splat hash braces. (@koic
)- #8990: Make
Style/HashEachMethods
aware of built-inThread.current
. (@koic
)- #11390: Fix an incorrect autocorrect for
Style/HashSyntax
when hash first argument key and hash value only are the same which has a method call on the next line. (@koic
)- #11379: Fix a false negative for
Style/OperatorMethodCall
when usinga.+ b.something
. (@koic
)- #11180: Fix an error for
Style/RedundantRegexpEscape
when using%r
to provide regexp expressions. (@si-lens
)- #11403: Fix bad offense for parenthesised calls in literals for
omit_parentheses
style inStyle/MethodCallWithArgsParentheses
. (@gsamokovarov
)- #11407: Fix an error for
Style/HashSyntax
when expression follows hash key assignment. (@fatkodima
)- #11377: Fix
Style/OperatorMethodCall
when forwarding arguments. (@sambostock
)Changes
Changelog
Sourced from rubocop's changelog.
1.43.0 (2023-01-10)
New features
- #11359: Add new
Lint/UselessRescue
cop. ([@fatkodima
][])- #11389: Add autocorrect for
Style/MissingElse
. ([@FnControlOption
][])Bug fixes
- #11386: Fix a false positive for
Style/OperatorMethodCall
when using anonymous forwarding. ([@koic
][])- #11409: Fix an incorrect autocorrect for
Style/HashSyntax
when using hash value omission andEnforcedStyle: no_mixed_keys
. ([@koic
][])- #11405: Fix undefined method `range_between' for Style/WhileUntilModifier. ([
@such
][])- #11374: Fix an error for
Style/StringHashKeys
when using invalid symbol in encoding UTF-8 as keys. ([@koic
][])- #11392: Fix an incorrect autocorrect for
Style/RedundantDoubleSplatHashBraces
using double splat in double splat hash braces. ([@koic
][])- #8990: Make
Style/HashEachMethods
aware of built-inThread.current
. ([@koic
][])- #11390: Fix an incorrect autocorrect for
Style/HashSyntax
when hash first argument key and hash value only are the same which has a method call on the next line. ([@koic
][])- #11379: Fix a false negative for
Style/OperatorMethodCall
when usinga.+ b.something
. ([@koic
][])- #11180: Fix an error for
Style/RedundantRegexpEscape
when using%r
to provide regexp expressions. ([@si-lens
][])- #11403: Fix bad offense for parenthesised calls in literals for
omit_parentheses
style inStyle/MethodCallWithArgsParentheses
. ([@gsamokovarov
][])- #11407: Fix an error for
Style/HashSyntax
when expression follows hash key assignment. ([@fatkodima
][])- #11377: Fix
Style/OperatorMethodCall
when forwarding arguments. ([@sambostock
][])Changes
Commits
-
c311137
Cut 1.43 -
d1e7287
Update Changelog -
2f29892
Add autocorrect forStyle/MissingElse
-
73a4121
[Fix #11303] MakeMetrics/ParameterLists
aware ofStruct.new
and `Data.de... -
46963bd
[Fix #11409] Fix an incorrect autocorrect forStyle/HashSyntax
-
1e5f19a
[Fix #8990] MakeStyle/HashEachMethods
aware ofThread.current
-
de30af8
Fix an error forStyle/HashSyntax
when expression follows hash key assignment -
52a448f
Merge pull request #11406 from sorare/11405 -
1ac1ce7
[Fix #11405] Fix Style/WhileUntilModifier with ruby 3.1 -
3ce55d0
Merge pull request #11403 from gsamokovarov/omit-parentheses-call-with-block-... - 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