Bump rubocop from 1.56.2 to 1.56.3
Bumps rubocop from 1.56.2 to 1.56.3.
Release notes
Sourced from rubocop's releases.
RuboCop 1.56.3
Bug fixes
- #12151: Make
Layout/EmptyLineAfterGuardClause
allow:nocov:
directive after guard clause. (@koic
)- #12195: Fix a false negative for
Layout/SpaceAfterNot
when a newline is present after!
. (@ymap
)- #12192: Fix a false positive for
Layout/RedundantLineBreak
when using quoted symbols with a single newline. (@ymap
)- #12190: Fix a false positive for
Layout/SpaceAroundOperators
when aligning operators vertically. (@koic
)- #12171: Fix a false positive for
Style/ArrayIntersect
when using block argument forEnumerable#any?
. (@koic
)- #12172: Fix a false positive for
Style/EmptyCaseCondition
when usingreturn
,break
,next
or method call before empty case condition. (@koic
)- #12162: Fix an error for
Bundler/DuplicatedGroup
when there's a duplicate set of groups and thegroup
value contains a splat. (@koic
)- #12182: Fix an error for
Lint/UselessAssignment
when variables are assigned using chained assignment and remain unreferenced. (@koic
)- #12181: Fix an incorrect autocorrect for
Lint/UselessAssignment
when variables are assigned with sequential assignment using the comma operator and unreferenced. (@koic
)- #12187: Fix an incorrect autocorrect for
Style/SoleNestedConditional
when comment is in an empty nestedif
body. (@ymap
)- #12183: Fix an incorrect autocorrect for
Style/MultilineTernaryOperator
when returning a multiline ternary operator expression with safe navigation method call. (@koic
)- #12168: Fix bug in
Style/ArgumentsForwarding
when there are repeated send nodes. (@owst
)- #12185: Set target version for
Layout/HeredocIndentation
. (@tagliala
)
Changelog
Sourced from rubocop's changelog.
1.56.3 (2023-09-11)
Bug fixes
- #12151: Make
Layout/EmptyLineAfterGuardClause
allow:nocov:
directive after guard clause. ([@koic
][])- #12195: Fix a false negative for
Layout/SpaceAfterNot
when a newline is present after!
. ([@ymap
][])- #12192: Fix a false positive for
Layout/RedundantLineBreak
when using quoted symbols with a single newline. ([@ymap
][])- #12190: Fix a false positive for
Layout/SpaceAroundOperators
when aligning operators vertically. ([@koic
][])- #12171: Fix a false positive for
Style/ArrayIntersect
when using block argument forEnumerable#any?
. ([@koic
][])- #12172: Fix a false positive for
Style/EmptyCaseCondition
when usingreturn
,break
,next
or method call before empty case condition. ([@koic
][])- #12162: Fix an error for
Bundler/DuplicatedGroup
when there's a duplicate set of groups and thegroup
value contains a splat. ([@koic
][])- #12182: Fix an error for
Lint/UselessAssignment
when variables are assigned using chained assignment and remain unreferenced. ([@koic
][])- #12181: Fix an incorrect autocorrect for
Lint/UselessAssignment
when variables are assigned with sequential assignment using the comma operator and unreferenced. ([@koic
][])- #12187: Fix an incorrect autocorrect for
Style/SoleNestedConditional
when comment is in an empty nestedif
body. ([@ymap
][])- #12183: Fix an incorrect autocorrect for
Style/MultilineTernaryOperator
when returning a multiline ternary operator expression with safe navigation method call. ([@koic
][])- #12168: Fix bug in
Style/ArgumentsForwarding
when there are repeated send nodes. ([@owst
][])- #12185: Set target version for
Layout/HeredocIndentation
. ([@tagliala
][])
Commits
-
796fcb3
Cut 1.56.3 -
2c10ba8
Move a changelog entry -
fa8bc61
Update Changelog -
52d0b72
Try avoiding project_root leak to fix flaky error -
3d427bb
Fix isolated test files should not break isolation. -
8abcf7e
Fix shadowing of FileFinder stop_dir in isolated tests. -
77a6b22
[Fix #12151] MakeLayout/EmptyLineAfterGuardClause
allow:nocov:
directive -
b1c67e9
Constantize fixed arrays ofStyle/SymbolArray
-
aab9391
Use RuboCop RSpec 2.24 -
4ba4104
[Fix #12195] Fix a false negative forLayout/SpaceAfterNot
- Additional commits viewable in compare view
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
-
@dependabot-bot recreate
will recreate this MR rewriting all the manual changes and resolving conflicts