Update dependency rubocop to v1.56.2 #816
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.
This PR contains the following updates:
1.54.1
->1.56.2
1.56.3
Release Notes
rubocop/rubocop (rubocop)
v1.56.2
Compare Source
Bug fixes
Layout/LineContinuationLeadingSpace
when a backslash is part of a multiline string literal. ([@ymap][])Layout/RedundantLineBreak
when using a modified singleton method definition. ([@koic][])Lint/ToEnumArguments
when using anonymous keyword arguments forwarding. ([@koic][])Lint/NonAtomicFileOperation
when usingFileUtils.remove_dir
,FileUtils.remove_entry
, orFileUtils.remove_entry_secure
. ([@koic][])Style/ArgumentsForwarding
when method def includes additional kwargs. ([@owst][])diagnosticProvider
value of LSP. ([@koic][])v1.56.1
Compare Source
Bug fixes
Layout/LeadingCommentSpace
when using#+
or#-
as they are not RDoc comments. ([@koic][])Bundler/DuplicatedGroup
when groups are duplicated butsource
,git
,platforms
, orpath
values are different. ([@koic][])Style/MethodCallWithArgsParentheses
when parentheses are used in one-linein
pattern matching. ([@koic][])Bundler/DuplicatedGroup
group declaration has keyword option. ([@koic][])Style/ArgumentsForwarding
cop when forwarding kwargs/block arg and an additional arg. ([@ydah][])Style/ArgumentsForwarding
cop when not always forwarding block. ([@owst][])Style/Lambda
when using numbered parameter with a multiline->
call. ([@koic][])Style/RedundantParentheses
when parentheses insuper
oryield
call with multiline style argument. ([@koic][])Style/SymbolArray
when%i
array containing unescaped[
,]
,(
, or)
. ([@koic][])Style/RedundantSelfAssignmentBranch
to handle heredocs. ([@r7kamura][])Gem::Requirement
matcher and version parsing to support multiple version constraints. ([@ItsEcholot][])v1.56.0
Compare Source
New features
Bundler/DuplicatedGroup
cop. ([@OwlKing][])rubocop.formatAutocorrectsAll
execute command. ([@koic][])Bug fixes
Style/RedundantReturn
when returning value with guard clause andreturn
is used. ([@koic][])Style/Alias
whenEncforcedStyle: prefer_alias
and usingalias
with interpolated symbol argument. ([@koic][])Style/ClassEqualityComparison
when comparing interpolated string class name for equality. ([@koic][])Style/LambdaCall
when using nested lambda callx.().()
. ([@koic][])Style/Alias
whenEncforcedStyle: prefer_alias_method
and usingalias
with interpolated symbol argument. ([@koic][])Lint/SuppressedException
whenAllowNil: true
is set and endless method definition is used. ([@koic][])Style/ArgumentsForwarding
with additional args/kwargs in def/send nodes. ([@owst][])Style/SymbolArray
false positives when using square brackets or interpolation in a symbol literal in a percent style array. ([@jasondoc3][])--fail-level A
ignore non-correctable offenses at :info severity. ([@naveg][])Changes
base64
gem to runtime dependency to suppress Ruby 3.3's warning. ([@koic][])v1.55.1
Compare Source
Bug fixes
Style/ReturnNilInPredicateMethodDefinition
when the last method argument in method definition isnil
. ([@koic][])Lint/UselessAssignment
when a variable is assigned and unreferenced infor
with multiple variables. ([@koic][])Style/MixinGrouping
when mixin method has no arguments. ([@koic][])private_class_method
method documentation. ([@bigzed][])Style/ArgumentsForwarding
when receiver forwards args/kwargs. ([@owst][])v1.55.0
Compare Source
New features
Style/ArgumentsForwarding
for anonymous arg/kwarg forwarding in Ruby 3.2. ([@owst][])layoutMode
option to run layout cops. ([@koic][])lintMode
option to run lint cops. ([@koic][])ReturnNilInPredicateMethodDefinition
aware ofnil
at the end of predicate method definition. ([@koic][])Bug fixes
omit_parentheses
style ofStyle/MethodCallWithArgsParentheses
. ([@gsamokovarov][])Layout/RedundantLineBreak
when inspecting the%
form string%\n\n
. ([@koic][])Style/CombinableLoops
when one of the loops is empty. ([@fatkodima][])Style/StringLiteralsInInterpolation
for symbols with interpolation. ([@fatkodima][])[]
and()
with percent symbol arrays. ([@jasondoc3][])LoadError
when loading RuboCop from a symlinked location on Windows. ([@p0deje][])Changes
Style/RedundantArgument
aware ofexit
andexit!
. ([@koic][])Style/HashConversion
as unsafe autocorrection. ([@koic][])v1.54.2
Compare Source
Bug fixes
Layout/ExtraSpacing
when some characters are vertically aligned. ([@koic][])Layout/TrailingEmptyLines
to prevent the following incorrect autocorrection when inspecting the%
form string%\n\n
. ([@koic][])AllCops:Exclude
is empty in .rubocop.yml. ([@koic][])Configuration
📅 Schedule: Branch creation - "* 8-20 1 * *" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.