up-for-grabs.net
up-for-grabs.net copied to clipboard
Bump rubocop from 1.60.2 to 1.61.0
trafficstars
Bumps rubocop from 1.60.2 to 1.61.0.
Release notes
Sourced from rubocop's releases.
RuboCop 1.61
New features
- #12682: Add
--editor-modeCLI option. (@koic)- #12657: Support
AutoCorrect: contextualoption for LSP. (@koic)- #12273: Make
OffenseCountFormatterdisplay autocorrection information. (@koic)- #12679: Publish
RuboCop::LSP.enableAPI to enable LSP mode. (@koic)- #12699: Support searching for
.rubocop.ymlandrubocop/config.ymlin compliance with dot-config. (@koic)Bug fixes
- #12720: Fix a false positive for
Style/ArgumentsForwardingwhen using block arg forwarding to within block with Ruby 3.3.0. (@koic)- #12714: Fix an error for
Gemspec/RequiredRubyVersionwhenrequired_ruby_versionis specified withGem::Requirement.newand is higher thanTargetRubyVersion. (@koic)- #12690: Fix an error for
Style/CaseLikeIfwhen using==with literal and using ternary operator. (@koic)- #12668: Fix an incorrect autocorrect for
Lint/EmptyConditionalBodywhen missingifbody with conditionalelsebody. (@koic)- #12683: Fix an incorrect autocorrect for
Style/MapCompactWithConditionalBlockwhen using guard clause withnextimplicitly nil. (@koic)- #12693: Fix an incorrect autocorrect for
Style/ObjectThenwhen usingyield_selfwithout receiver. (@koic)- #12646: Fix
--auto-gen-configbug forLayout/SpaceBeforeBlockBraces. (@jonas054)- #12717: Fix regexp for inline disable comments in
Style/CommentedKeyword. (@jonas054)- #12695: Fix bug in
Includefrom inherited file in a parent directory. (@jonas054)- #12656: Fix an error for
Layout/RedundantLineBreakwhen using index access call chained on multiline hash literal. (@koic)- #12691: Fix an error for
Style/MultilineTernaryOperatorwhen nesting multiline ternary operators. (@koic)- #12707: Fix false negative for
Style/RedundantAssignmentwhen using pattern matching. (@koic)- #12674: Fix false negatives for
Style/RedundantReturnwhen using pattern matching. (@koic)- #12673: Fix false negatives for
Lint/RedundantSafeNavigationwhen using safe navigation operator for literal receiver. (@koic)- #12719: Fix false negatives for
Style/ArgumentsForwardingwhen using forwardable block arguments with Ruby 3.2+. (@koic)- #12687: Fix a false positive for
Lint/Voidwheneachblock with conditional expressions that has multiple statements. (@koic)- #12649: Fix false positives for
Style/InverseMethodswhen using relational comparison operator with safe navigation. (@koic)- #12711: Handle implicit receivers in
Style/InvertibleUnlessCondition. (@sambostock)- #12648: Fix numblock regressions in
omit_parenthesesStyle/MethodCallWithArgsParentheses. (@gsamokovarov)Changes
- #12641: Make error message clearer when the namespace is incorrect. (
@maruth-stripe)- #12637: Mark
Style/RaiseArgsas unsafe. (@r7kamura)- #12645: Change source order for target ruby to check gemspec after RuboCop configuration. (
@jenshenny)
Changelog
Sourced from rubocop's changelog.
1.61.0 (2024-02-29)
New features
- #12682: Add
--editor-modeCLI option. ([@koic][])- #12657: Support
AutoCorrect: contextualoption for LSP. ([@koic][])- #12273: Make
OffenseCountFormatterdisplay autocorrection information. ([@koic][])- #12679: Publish
RuboCop::LSP.enableAPI to enable LSP mode. ([@koic][])- #12699: Support searching for
.rubocop.ymlandrubocop/config.ymlin compliance with dot-config. ([@koic][])Bug fixes
- #12720: Fix a false positive for
Style/ArgumentsForwardingwhen using block arg forwarding to within block with Ruby 3.3.0. ([@koic][])- #12714: Fix an error for
Gemspec/RequiredRubyVersionwhenrequired_ruby_versionis specified withGem::Requirement.newand is higher thanTargetRubyVersion. ([@koic][])- #12690: Fix an error for
Style/CaseLikeIfwhen using==with literal and using ternary operator. ([@koic][])- #12668: Fix an incorrect autocorrect for
Lint/EmptyConditionalBodywhen missingifbody with conditionalelsebody. ([@koic][])- #12683: Fix an incorrect autocorrect for
Style/MapCompactWithConditionalBlockwhen using guard clause withnextimplicitly nil. ([@koic][])- #12693: Fix an incorrect autocorrect for
Style/ObjectThenwhen usingyield_selfwithout receiver. ([@koic][])- #12646: Fix
--auto-gen-configbug forLayout/SpaceBeforeBlockBraces. ([@jonas054][])- #12717: Fix regexp for inline disable comments in
Style/CommentedKeyword. ([@jonas054][])- #12695: Fix bug in
Includefrom inherited file in a parent directory. ([@jonas054][])- #12656: Fix an error for
Layout/RedundantLineBreakwhen using index access call chained on multiline hash literal. ([@koic][])- #12691: Fix an error for
Style/MultilineTernaryOperatorwhen nesting multiline ternary operators. ([@koic][])- #12707: Fix false negative for
Style/RedundantAssignmentwhen using pattern matching. ([@koic][])- #12674: Fix false negatives for
Style/RedundantReturnwhen using pattern matching. ([@koic][])- #12673: Fix false negatives for
Lint/RedundantSafeNavigationwhen using safe navigation operator for literal receiver. ([@koic][])- #12719: Fix false negatives for
Style/ArgumentsForwardingwhen using forwardable block arguments with Ruby 3.2+. ([@koic][])- #12687: Fix a false positive for
Lint/Voidwheneachblock with conditional expressions that has multiple statements. ([@koic][])- #12649: Fix false positives for
Style/InverseMethodswhen using relational comparison operator with safe navigation. ([@koic][])- #12711: Handle implicit receivers in
Style/InvertibleUnlessCondition. ([@sambostock][])- #12648: Fix numblock regressions in
omit_parenthesesStyle/MethodCallWithArgsParentheses. ([@gsamokovarov][])Changes
- #12641: Make error message clearer when the namespace is incorrect. ([
@maruth-stripe][])- #12637: Mark
Style/RaiseArgsas unsafe. ([@r7kamura][])- #12645: Change source order for target ruby to check gemspec after RuboCop configuration. ([
@jenshenny][])
Commits
45ba779Cut 1.610882ca9Update Changelog87b3b4dRename variable in InvertibleUnlessConditionf151524Add InvertibleUnlessCondition implicit receiver example8acce28Tweak specs forSecurity/YAMLLoadb4cc305Merge pull request #12723 from koic/add_specs_for_style_arguments_forwardingbac7a0bAdd specs forStyle/ArgumentsForwarding5da1905Handle implicit receivers inStyle/InvertibleUnlessCondition18004e9[Fix #12717] Re-use definition of directive comments from Style/CommentedKeyword8aae48bFix a false positive forStyle/ArgumentsForwarding- 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)
:wave: I'm a robot checking the state of this pull request to save the human reviewers time. I don't see any changes under _data/projects/ so I don't have any feedback here.
As you make changes to this pull request, I'll re-run these checks.
Superseded by #4523.