chore(deps): update rubocop-tools #482
Open
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.79.2'
->'~> 1.81.1'
'~> 3.6'
->'~> 3.7'
Release Notes
rubocop/rubocop (rubocop)
v1.81.1
Compare Source
Bug fixes
Lint/DeprecatedOpenSSLConstant
whenCipher
appears twice. ([@koic][])Changes
Style/NumberedParameters
andStyle/ItBlockParameter
withEnforcedStyle: allow_single_line
when the block itself is on a single line. ([@earlopain][])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][])v1.80.2
Compare Source
Bug fixes
Style/SafeNavigation
when using ternary expression with index access call with method chain. ([@koic][])Style/RedundantParentheses
with unary operators andyield
,super
, ordefined?
. ([@earlopain][])Style/RedundantParentheses
with method calls taking argument without parentheses likereturn (x y) if z
. ([@earlopain][])Style/StringConcatenation
when a double-quoted string contains escaped quotes and interpolation. ([@earlopain][])Style/StringConcatenation
when a single-quoted string contains interpolation like'#{foo}'
. ([@earlopain][])Changes
Naming/PredicateMethod
allow theinitialize
method. ([@koic][])v1.80.1
Compare Source
Bug fixes
--display-time
option is used on the CLI. ([@lovro-bikic][])Style/RedundantBegin
usingbegin
with multiple statements withoutrescue
orensure
. ([@koic][])Changes
Layout/EndAlignment
whenend
is not on a separate line. ([@lovro-bikic][])v1.80.0
Compare Source
Bug fixes
Style/BitwisePredicate
when using&
with LHS flags in conjunction with==
for comparisons. ([@koic][])Style/For
with save navigation in the collection. ([@earlopain][])Lint/DuplicateRegexpCharacterClassElement
is enabled. ([@earlopain][])Lint/UselessAssignment
when duplicate assignments appear in nestedif
branches inside a loop and the variable is used outsidewhile
loop. ([@koic][])Naming/MethodName
when an operator method is defined using a string. ([@koic][])Style/RedundantParentheses
whendo
...end
block is wrapped in parentheses as a method argument. ([@koic][])Style/SafeNavigation
. ([@issyl0][])Layout/EmptyLinesAfterModuleInclusion
wheninclude
does not have exactly one argument. ([@issyl0][])Style/SafeNavigation
cop to preserve existing safe navigation in fixed code. ([@martinemde][])Lint/UselessAssignment
withfor
loops when the variable is referenced in the collection. ([@earlopain][])Style/RedundantCondition
with a parenthesised method call in the condition. ([@earlopain][])Changes
Lint/SelfAssignment
to handle indexed assignment with multiple arguments. ([@viralpraxis][])AutoCorrect
andInclude
from configuration parameters. ([@r7kamura][])Style/RedundantBegin
aware ofcase
pattern matching. ([@koic][])Style/ArrayIntersect
. ([@lovro-bikic][])TextDocumentSyncKind.Incremental
. ([@tmtm][])Style/RedundantBegin
to registerbegin
blocks insideif
,unless
,case
,while
anduntil
as redundant. ([@dvandersluis][])rubocop/rubocop-rspec (rubocop-rspec)
v3.7.0
Compare Source
RSpec/IncludeExamples
asSafeAutoCorrect: false
. ([@yujideveloper])RSpec/LeakyConstantDeclaration
when defining constants in explicit namespaces. ([@naveg])raise_exception
andraise_error
) toRSpec/Dialect
. ([@lovro-bikic])RSpec/DescribedClass
withinData.define
blocks. ([@lovro-bikic])RSpec/IteratedExpectation
for single expectations. ([@lovro-bikic])RSpec/ExcessiveDocstringSpacing
when receivers are not RSpec methods. ([@ydah])Configuration
📅 Schedule: Branch creation - "after 8am on the first day of the month" (UTC), 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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.