#8346: Allow parentheses in single-line inheritance with Style/MethodCallWithArgsParenthesesEnforcedStyle: omit_parentheses to fix invalid Ruby auto-correction. ([@gsamokovarov][])
#8324: Fix crash for Layout/SpaceAroundMethodCallOperator when using Proc#call shorthand syntax. ([@fatkodima][])
#8332: Fix auto-correct in Style/ConditionalAssignment to preserve constant namespace. ([@biinari][])
#8344: Fix crash for Style/CaseLikeIf when checking against equal? and match? without a receiver. ([@fatkodima][])
#8323: Fix a false positive for Style/HashAsLastArrayItem when hash is not a last array item. ([@fatkodima][])
#8299: Fix an incorrect auto-correct for Style/RedundantCondition when using raise, rescue, or and without argument parentheses in else. ([@koic][])
#8335: Fix incorrect character class detection for nested or POSIX bracket character classes in Style/RedundantRegexpEscape. ([@owst][])
#8347: Fix an incorrect auto-correct for EnforcedStyle: hash_rockets of Style/HashSyntax with Layout/HashAlignment. ([@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)
Updates the requirements on rubocop to permit the latest version.
Release notes
Sourced from rubocop's releases.
Changelog
Sourced from rubocop's changelog.
Commits
e27942a
Cut 0.89.13cba823
[Fix #8497] Fix Style/IfUnlessModifier to handle if-end condition in method a...78f1ec9
Alter multiline memoization message for braces enforced stylee0f28e0
Deprecate comment_lines?9a08fde
Avoid use of ProcessedSource#commented?28eabb7
Fix Style/EmptyCaseCondition's autocorrect.14a5c20
Avoid comments_before_line8a02e42
Simplify and optimize comment lookupa0ec799
New rubocop-ast insures thatProcessedSource#comments
is nevernil
.7fd90a4
Avoid use of each_commentDependabot 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)