#11492: Fix an error for Lint/Void when configuring CheckForMethodsWithNoSideEffects: true. (@koic)
#11400: Fix an incorrect autocorrect for Naming/BlockForwarding and Lint/AmbiguousOperator when autocorrection conflicts for ambiguous splat argument. (@fatkodima)
#11483: Fix Layout/ClosingParenthesisIndentation for keyword splat arguments. (@fatkodima)
#11487: Fix a false positive for Lint/FormatParameterMismatch when format string is only interpolated string. (@ydah)
#11485: Fix a false positive for Lint/UselessAssignment when using numbered block parameter. (@koic)
#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)
#11492: Fix an error for Lint/Void when configuring CheckForMethodsWithNoSideEffects: true. ([@koic][])
#11400: Fix an incorrect autocorrect for Naming/BlockForwarding and Lint/AmbiguousOperator when autocorrection conflicts for ambiguous splat argument. ([@fatkodima][])
#11483: Fix Layout/ClosingParenthesisIndentation for keyword splat arguments. ([@fatkodima][])
#11487: Fix a false positive for Lint/FormatParameterMismatch when format string is only interpolated string. ([@ydah][])
#11485: Fix a false positive for Lint/UselessAssignment when using numbered block parameter. ([@koic][])
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 deprecated attr with boolean 2nd argument. ([@koic][])
#11457: Make Metrics/BlockNesting aware of pattern matching. ([@koic][])
#11458: Make Metrics/CyclomaticComplexity aware of pattern matching. ([@koic][])
#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][])
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.30.0 to 1.44.1.
Release notes
Sourced from rubocop's releases.
... (truncated)
Changelog
Sourced from rubocop's changelog.
... (truncated)
Commits
8b9b97f
Cut 1.44.139adb4e
Update Changelog6d45fd5
Fix typosaa08c25
Merge pull request #11493 from koic/fix_an_error_for_lint_void9a1f19a
UseRuboCop::AST::Node#basic_conditional?
629da70
UseRuboCop::AST::Node#operator_keyword?
48f3d1f
[Fix #11492] Fix an error forLint/Void
b947b32
Merge pull request #11488 from koic/fix_a_false_positive_for_lint_useless_ass...099a1e7
Merge pull request #11487 from ydah/fix-false-positive-lint-format-parameter-...95a894a
Merge pull request #11490 from ydah/fix-indentDependabot 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)