Update dependency rubocop to '~> 1.81.0' #72
Merged
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.
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more here.
This PR contains the following updates:
'~> 1.80.0'
->'~> 1.81.0'
Release Notes
rubocop/rubocop (rubocop)
v1.81.0
Compare Source
New features
Style/ArrayIntersectWithSingleElement
cop. ([@r7kamura][])EnforcedStyleForMultiline: diff_comma
inStyle/TrailingCommaInArguments
. ([@akouryy][])Bug fixes
Style/NilComparison
cop when using thevar.==(nil)
andvar.===(nil)
syntax. ([@viralpraxis][])Style/ExplicitBlockArgument
when there are two methods that share the same implementation. ([@earlopain][])Style/NumberedParameters
andStyle/ItBlockParameter
when using multiline method chain withEnforcedStyle: allow_single_line
. ([@koic][])Layout/MultilineOperationIndentation
when using indented code on LHS of equality operator in modifier method definition. ([@koic][])Layout/EmptyLineBetweenDefs
forAllowAdjacentOneLineDefs: false
andDefLikeMacros
that take no block. ([@earlopain][])EnforcedStyle: allowed_in_returns
and!!
appears across multiple lines in return position. ([@koic][])Style/RedundantParentheses
when parentheses are used around a one-linerescue
expression as a condition. ([@koic][])Style/RedundantRegexpEscape
when an escaped variable sigil follows#
(e.g.,/#\@​foo/
,/#\@​@​bar/
,/#\$baz/
). ([@koic][])Layout/RescueEnsureAlignment
with a block whose send node is split over multiple lines. ([@dvandersluis][])Style/RedundantFormat
when the format string has a variable width that isn't given as a literal value. ([@dvandersluis][])ParserEngine: parser_prism
is configured in a base config file. ([@sudoremo][])Lint/Void
when using a return value in assignment method definition. ([@koic][])Style/RedundantRegexpArgument
when using escaped single quote character. ([@koic][])Style/UnlessElse
when usingunless
withthen
. ([@koic][]).rubocop.yml
,.rubocop_todo.yml
) change. ([@earlopain][]).rubocop
config file. ([@earlopain][])Layout/LineLength
autocorrection from splitting a block if its receiver contains a heredoc. ([@dvandersluis][])Lint/ShadowedArgument
when assigning inside arescue
block. ([@earlopain][])Changes
positionEncoding
utf-8
andutf-32
. ([@tmtm][])Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.