dep: bump rubocop from 1.43.0 to 1.44.0
Bumps rubocop from 1.43.0 to 1.44.0.
Release notes
Sourced from rubocop's releases.
RuboCop 1.44
New features
- #11410: Add new
Style/InvertibleUnlessCondition
cop. (@fatkodima
)- #11338: Add new
Style/ComparableClamp
cop. (@koic
)- #11350: Make
Lint/DeprecatedClassMethods
aware of deprecatedattr
with boolean 2nd argument. (@koic
)- #11457: Make
Metrics/BlockNesting
aware of pattern matching. (@koic
)- #11458: Make
Metrics/CyclomaticComplexity
aware of pattern matching. (@koic
)- #11469: Add
Gemspec/DevelopmentDependencies
cop. (@sambostock
)Bug fixes
- #11445: Fix an incorrect autocorrect for
Style/BlockDelimiters
when there is a comment after the closing brace and bracket. (@koic
)- #11428: Apply value omission exceptions in super invocations. (
@gsamokovarov
)- #11420: Fix a false positive for
Lint/UselessRescue
when using exception variable inensure
clause. (@koic
)- #11460: Fix an error for
Style/OperatorMethodCall
when usingfoo.> 42
. (@koic
)- #11456: Fix value omissions in
yield
invocations. (@gsamokovarov
)- #11467: Fix a false negative for
Style/MethodCallWithoutArgsParentheses
when calling method on a receiver and assigning to a variable with the same name. (@koic
)- #11430: Fix an infinite loop error for
Layout/BlockEndNewline
when multiline blocks with newlines before the; end
. (@koic
)- #11442: Fix a crash during anonymous rest argument forwarding. (
@gsamokovarov
)- #11447: Fix an incorrect autocorrect for
Style/RedundantDoubleSplatHashBraces
when using nested double splat hash braces. (@koic
)- #11459: Make
Lint/UselessRuby2Keywords
aware of conditions. (@splattael
)- #11415: Fix a false positive for
Lint/UselessMethodDefinition
when method definition contains rest arguments. (@koic
)- #11418: Fix a false positive for
Style/MethodCallWithArgsParentheses
when using anonymous rest arguments or anonymous keyword rest arguments. (@koic
)- #11431: Fix a crash in Style/HashSyntax. (
@gsamokovarov
)- #11444: Fix a false positive for
Lint/ShadowingOuterLocalVariable
when using numbered block parameter. (@koic
)- #11477: Fix an error when using YAML alias with server mode. (
@koic
)- #11419: Fix a false positive for
Style/RedundantRequireStatement
when usingpretty_inspect
. (@koic
)- #11439: Fix an incorrect autocorrect for
Style/MinMaxComparison
when usinga < b a : b
withelsif/else
. (@ydah
)- #11464: Fix a false negative for
Lint/FormatParameterMismatch
when include interpolated string. (@ydah
)- #11425: Fix a false negative for
Lint/Void
when using methods that takes blocks. (@krishanbhasin-shopify
)- #11437: Fix an error for
Style/AccessModifierDeclarations
when access modifier is inlined with a method on the top level. (@koic
)- #11455: Fix crash with
super value_omission:
followed by a method call. (@gsamokovarov
)Changes
Changelog
Sourced from rubocop's changelog.
1.44.0 (2023-01-23)
New features
- #11410: Add new
Style/InvertibleUnlessCondition
cop. ([@fatkodima
][])- #11338: Add new
Style/ComparableClamp
cop. ([@koic
][])- #11350: Make
Lint/DeprecatedClassMethods
aware of deprecatedattr
with boolean 2nd argument. ([@koic
][])- #11457: Make
Metrics/BlockNesting
aware of pattern matching. ([@koic
][])- #11458: Make
Metrics/CyclomaticComplexity
aware of pattern matching. ([@koic
][])- #11469: Add
Gemspec/DevelopmentDependencies
cop. ([@sambostock
][])Bug fixes
- #11445: Fix an incorrect autocorrect for
Style/BlockDelimiters
when there is a comment after the closing brace and bracket. ([@koic
][])- #11428: Apply value omission exceptions in super invocations. ([
@gsamokovarov
][])- #11420: Fix a false positive for
Lint/UselessRescue
when using exception variable inensure
clause. ([@koic
][])- #11460: Fix an error for
Style/OperatorMethodCall
when usingfoo.> 42
. ([@koic
][])- #11456: Fix value omissions in
yield
invocations. ([@gsamokovarov
][])- #11467: Fix a false negative for
Style/MethodCallWithoutArgsParentheses
when calling method on a receiver and assigning to a variable with the same name. ([@koic
][])- #11430: Fix an infinite loop error for
Layout/BlockEndNewline
when multiline blocks with newlines before the; end
. ([@koic
][])- #11442: Fix a crash during anonymous rest argument forwarding. ([
@gsamokovarov
][])- #11447: Fix an incorrect autocorrect for
Style/RedundantDoubleSplatHashBraces
when using nested double splat hash braces. ([@koic
][])- #11459: Make
Lint/UselessRuby2Keywords
aware of conditions. ([@splattael
][])- #11415: Fix a false positive for
Lint/UselessMethodDefinition
when method definition contains rest arguments. ([@koic
][])- #11418: Fix a false positive for
Style/MethodCallWithArgsParentheses
when using anonymous rest arguments or anonymous keyword rest arguments. ([@koic
][])- #11431: Fix a crash in Style/HashSyntax. ([
@gsamokovarov
][])- #11444: Fix a false positive for
Lint/ShadowingOuterLocalVariable
when using numbered block parameter. ([@koic
][])- #11477: Fix an error when using YAML alias with server mode. ([
@koic
][])- #11419: Fix a false positive for
Style/RedundantRequireStatement
when usingpretty_inspect
. ([@koic
][])- #11439: Fix an incorrect autocorrect for
Style/MinMaxComparison
when usinga < b a : b
withelsif/else
. ([@ydah
][])- #11464: Fix a false negative for
Lint/FormatParameterMismatch
when include interpolated string. ([@ydah
][])- #11425: Fix a false negative for
Lint/Void
when using methods that takes blocks. ([@krishanbhasin-shopify
][])- #11437: Fix an error for
Style/AccessModifierDeclarations
when access modifier is inlined with a method on the top level. ([@koic
][])- #11455: Fix crash with
super value_omission:
followed by a method call. ([@gsamokovarov
][])Changes
Commits
-
6139e40
Cut 1.44 -
fb9b25e
Update Changelog -
e704d26
AddGemspec/DevelopmentDependencies
cop -
8750cd6
Add newStyle/InvertibleUnlessCondition
cop -
7fdb89b
Change to not output not configured warning when renamed and pending cop -
989ecb2
Merge pull request #11480 from koic/fix_an_error_when_using_yaml_alias_with_s... -
4e7ce1c
Merge pull request #11481 from koic/remove_sbsolete_code_for_psych -
9043f5d
Remove obsolete code for Psych -
070df6b
[Fix #11477] Fix an error when using YAML alias with server mode -
3a542a9
Fix an error forStyle/Semicolon
- 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