rails_cursor_pagination
rails_cursor_pagination copied to clipboard
Bump rubocop from 1.56.4 to 1.59.0
trafficstars
Bumps rubocop from 1.56.4 to 1.59.0.
Release notes
Sourced from rubocop's releases.
RuboCop 1.59
New features
Bug fixes
- #12434: Fix a false positive for
Lint/LiteralAssignmentInConditionwhen using interpolated string or xstring literals. (@koic)- #12435: Fix a false positive for
Lint/SelfAssignmentwhen using attribute assignment with method call with arguments. (@koic)- #12444: Fix false positive for
Style/HashEachMethodswhen receiver literal is not a hash literal. (@koic)- #12524: Fix a false positive for
Style/MethodCallWithArgsParentheseswhenEnforcedStyle: omit_parenthesesand parens inwhenclause is used to pass an argument. (@koic)- #12505: Fix a false positive for
Style/RedundantParentheseswhen using parenthesizedlambdaorprocwithdo...endblock. (@koic)- #12442: Fix an incorrect autocorrect for
Style/CombinableLoopswhen looping over the same data as previous loop indo...endand{...}blocks. (@koic)- #12432: Fix a false positive for
Lint/LiteralAssignmentInConditionwhen using parallel assignment with splat operator in block of guard condition. (@koic)- #12441: Fix false positives for
Style/HashEachMethodswhen using destructed block arguments. (@koic)- #12436: Fix false positives for
Style/RedundantParentheseswhen a part of range is a parenthesized condition. (@koic)- #12429: Fix incorrect autocorrect for
Style/MapToHashwhen using dot method calls forto_h. (@koic)- #12488: Make
Lint/HashCompareByIdentityaware of safe navigation operator. (@koic)- #12489: Make
Lint/NextWithoutAccumulatoraware of safe navigation operator. (@koic)- #12490: Make
Lint/NumberConversionaware of safe navigation operator. (@koic)- #12491: Make
Lint/RedundantWithIndexaware of safe navigation operator. (@koic)- #12492: Make
Lint/RedundantWithObjectaware of safe navigation operator. (@koic)- #12493: Make
Lint/UnmodifiedReduceAccumulatoraware of safe navigation operator. (@koic)- #12473: Make
Style/ClassCheckaware of safe navigation operator. (@koic)- #12445: Make
Style/CollectionCompactaware of safe navigation operator. (@koic)- #12474: Make
Style/ConcatArrayLiteralsaware of safe navigation operator. (@koic)- #12476: Make
Style/DateTimeaware of safe navigation operator. (@koic)- #12479: Make
Style/EachWithObjectaware of safe navigation operator. (@koic)- #12446: Make
Style/HashExceptaware of safe navigation operator. (@koic)- #12447: Make
Style/MapCompactWithConditionalBlockaware of safe navigation operator. (@koic)- #12484: Make
Style/Nextaware of safe navigation operator. (@koic)- #12486: Make
Style/RedundantArgumentaware of safe navigation operator. (@koic)- #12454: Make
Style/RedundantFetchBlockaware of safe navigation operator. (@koic)- #12495: Make
Layout/RedundantLineBreakaware of safe navigation operator. (@koic)- #12455: Make
Style/RedundantSortByaware of safe navigation operator. (@koic)- #12456: Make
Style/RedundantSortByaware of safe navigation operator. (@koic)- #12480: Make
Style/ExactRegexpMatchaware of safe navigation operator. (@koic)- #12457: Make
Style/Sampleaware of safe navigation operator. (@koic)- #12458: Make
Style/SelectByRegexpcops aware of safe navigation operator. (@koic)- #12494: Make
Layout/SingleLineBlockChainaware of safe navigation operator. (@koic)- #12461: Make
Style/StringCharsaware of safe navigation operator. (@koic)- #12468: Make
Style/Stripaware of safe navigation operator. (@koic)- #12469: Make
Style/UnpackFirstaware of safe navigation operator. (@koic)Changes
... (truncated)
Changelog
Sourced from rubocop's changelog.
1.59.0 (2023-12-11)
New features
Bug fixes
- #12434: Fix a false positive for
Lint/LiteralAssignmentInConditionwhen using interpolated string or xstring literals. ([@koic][])- #12435: Fix a false positive for
Lint/SelfAssignmentwhen using attribute assignment with method call with arguments. ([@koic][])- #12444: Fix false positive for
Style/HashEachMethodswhen receiver literal is not a hash literal. ([@koic][])- #12524: Fix a false positive for
Style/MethodCallWithArgsParentheseswhenEnforcedStyle: omit_parenthesesand parens inwhenclause is used to pass an argument. ([@koic][])- #12505: Fix a false positive for
Style/RedundantParentheseswhen using parenthesizedlambdaorprocwithdo...endblock. ([@koic][])- #12442: Fix an incorrect autocorrect for
Style/CombinableLoopswhen looping over the same data as previous loop indo...endand{...}blocks. ([@koic][])- #12432: Fix a false positive for
Lint/LiteralAssignmentInConditionwhen using parallel assignment with splat operator in block of guard condition. ([@koic][])- #12441: Fix false positives for
Style/HashEachMethodswhen using destructed block arguments. ([@koic][])- #12436: Fix false positives for
Style/RedundantParentheseswhen a part of range is a parenthesized condition. ([@koic][])- #12429: Fix incorrect autocorrect for
Style/MapToHashwhen using dot method calls forto_h. ([@koic][])- #12488: Make
Lint/HashCompareByIdentityaware of safe navigation operator. ([@koic][])- #12489: Make
Lint/NextWithoutAccumulatoraware of safe navigation operator. ([@koic][])- #12490: Make
Lint/NumberConversionaware of safe navigation operator. ([@koic][])- #12491: Make
Lint/RedundantWithIndexaware of safe navigation operator. ([@koic][])- #12492: Make
Lint/RedundantWithObjectaware of safe navigation operator. ([@koic][])- #12493: Make
Lint/UnmodifiedReduceAccumulatoraware of safe navigation operator. ([@koic][])- #12473: Make
Style/ClassCheckaware of safe navigation operator. ([@koic][])- #12445: Make
Style/CollectionCompactaware of safe navigation operator. ([@koic][])- #12474: Make
Style/ConcatArrayLiteralsaware of safe navigation operator. ([@koic][])- #12476: Make
Style/DateTimeaware of safe navigation operator. ([@koic][])- #12479: Make
Style/EachWithObjectaware of safe navigation operator. ([@koic][])- #12446: Make
Style/HashExceptaware of safe navigation operator. ([@koic][])- #12447: Make
Style/MapCompactWithConditionalBlockaware of safe navigation operator. ([@koic][])- #12484: Make
Style/Nextaware of safe navigation operator. ([@koic][])- #12486: Make
Style/RedundantArgumentaware of safe navigation operator. ([@koic][])- #12454: Make
Style/RedundantFetchBlockaware of safe navigation operator. ([@koic][])- #12495: Make
Layout/RedundantLineBreakaware of safe navigation operator. ([@koic][])- #12455: Make
Style/RedundantSortByaware of safe navigation operator. ([@koic][])- #12456: Make
Style/RedundantSortByaware of safe navigation operator. ([@koic][])- #12480: Make
Style/ExactRegexpMatchaware of safe navigation operator. ([@koic][])- #12457: Make
Style/Sampleaware of safe navigation operator. ([@koic][])- #12458: Make
Style/SelectByRegexpcops aware of safe navigation operator. ([@koic][])- #12494: Make
Layout/SingleLineBlockChainaware of safe navigation operator. ([@koic][])- #12461: Make
Style/StringCharsaware of safe navigation operator. ([@koic][])- #12468: Make
Style/Stripaware of safe navigation operator. ([@koic][])- #12469: Make
Style/UnpackFirstaware of safe navigation operator. ([@koic][])Changes
... (truncated)
Commits
e5a164aCut 1.592912b6eUpdate Changelog3bcc171[Fix #12524] Fix a false positive forStyle/MethodCallWithArgsParentheses0daa4aaMakeStyle/MethodCallWithoutArgsParenthesesallow parenthesizeditb240a09MakeStyle/RedundantSelfallowself.ita0e1042[Fix #12526] Fix incorrect rendering typosb1bcb31[Fix #12444] Fix false positive forStyle/HashEachMethods3b0360bAdd newLint/ItWithoutArgumentsInBlockcop4e9cfccMerge pull request #12521 from koic/make_style_select_by_regexp_aware_of_safe...037c860Merge pull request #12438 from koic/fix_a_false_positive_for_lint_literal_ass...- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)