chore(deps): update dependency rubocop to v1.81.6 #2497
+6
−6
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.80.2->1.81.6Release Notes
rubocop/rubocop (rubocop)
v1.81.6Compare Source
Bug fixes
Lint/SelfAssignmentwhen using[]=assignment with no arguments. ([@koic][])Style/ArrayIntersectwhenintersection(other).any?is called without a receiver. ([@koic][])Style/ConditionalAssignmentis configured withassign_inside_conditionaland the conditional contains a multi-line regex. ([@martinemde][])Style/RedundantInterpolationwhen using a one-line=>pattern matching. ([@koic][])Style/EndlessMethodwhen heredoc is used in method body. ([@koic][])Style/EndlessMethodwhen the endless method would exceed the maximum line length. ([@koic][])Lint/EmptyInterpolationwhen interpolation is inside a%Wliteral. ([@dvandersluis][])Style/RedundantFormatfalse positive when a interpolated value is given to a specifier with a width or precision. ([@dvandersluis][])Style/RedundantFormathandling control characters like\n. ([@dvandersluis][])Style/Semicolonwhen a method call using hash value omission without parentheses is terminated with a semicolon. ([@koic][])Security/JSONLoadwhencreate_additionsis explicitly specified. ([@earlopain][])Changes
Lint::ConstantOverwrittenInRescuecop to detect offenses within fully qualified constants. ([@viralpraxis][])Lint/ConstantOverwrittenInRescuecop to detect offenses within nested constants. ([@viralpraxis][])Lint/ConstantOverwrittenInRescueto detect any constant assignment. ([@viralpraxis][])Style/LambdaCallautocorrection contextual. ([@koic][])v1.81.1Compare Source
Bug fixes
Lint/DeprecatedOpenSSLConstantwhenCipherappears twice. ([@koic][])Changes
Style/NumberedParametersandStyle/ItBlockParameterwithEnforcedStyle: allow_single_linewhen the block itself is on a single line. ([@earlopain][])v1.81.0Compare Source
New features
Style/ArrayIntersectWithSingleElementcop. ([@r7kamura][])EnforcedStyleForMultiline: diff_commainStyle/TrailingCommaInArguments. ([@akouryy][])Bug fixes
Style/NilComparisoncop when using thevar.==(nil)andvar.===(nil)syntax. ([@viralpraxis][])Style/ExplicitBlockArgumentwhen there are two methods that share the same implementation. ([@earlopain][])Style/NumberedParametersandStyle/ItBlockParameterwhen using multiline method chain withEnforcedStyle: allow_single_line. ([@koic][])Layout/MultilineOperationIndentationwhen using indented code on LHS of equality operator in modifier method definition. ([@koic][])Layout/EmptyLineBetweenDefsforAllowAdjacentOneLineDefs: falseandDefLikeMacrosthat take no block. ([@earlopain][])EnforcedStyle: allowed_in_returnsand!!appears across multiple lines in return position. ([@koic][])Style/RedundantParentheseswhen parentheses are used around a one-linerescueexpression as a condition. ([@koic][])Style/RedundantRegexpEscapewhen an escaped variable sigil follows#(e.g.,/#\@​foo/,/#\@​@​bar/,/#\$baz/). ([@koic][])Layout/RescueEnsureAlignmentwith a block whose send node is split over multiple lines. ([@dvandersluis][])Style/RedundantFormatwhen the format string has a variable width that isn't given as a literal value. ([@dvandersluis][])ParserEngine: parser_prismis configured in a base config file. ([@sudoremo][])Lint/Voidwhen using a return value in assignment method definition. ([@koic][])Style/RedundantRegexpArgumentwhen using escaped single quote character. ([@koic][])Style/UnlessElsewhen usingunlesswiththen. ([@koic][]).rubocop.yml,.rubocop_todo.yml) change. ([@earlopain][]).rubocopconfig file. ([@earlopain][])Layout/LineLengthautocorrection from splitting a block if its receiver contains a heredoc. ([@dvandersluis][])Lint/ShadowedArgumentwhen assigning inside arescueblock. ([@earlopain][])Changes
positionEncodingutf-8andutf-32. ([@tmtm][])Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.