Update dependency rubocop to v1.62.1 #58
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.60.2'
->'1.62.1'
1.63.0
Release Notes
rubocop/rubocop (rubocop)
v1.62.1
Compare Source
Bug fixes
Style/HashEachMethods
when the key block argument ofEnumerable#each
method is unused afterchunk
. ([@koic][])Style/NilComparison
without receiver andEnforcedStyle: comparison
. ([@earlopain][])Gemspec/RequiredRubyVersion
when the file is empty. ([@earlopain][])Lint/RedundantWithIndex
when the method has no receiver. ([@earlopain][])Lint/UselessTimes
when no block is present. ([@earlopain][])Style/ClassVars
when callingclass_variable_set
without arguments. ([@earlopain][])Style/For
withEnforcedStyle: for
when no receiver. ([@earlopain][])Layout/MultilineMethodCallIndentation
with safe navigation and assignment method. ([@earlopain][])Lint/MixedCaseRange
with invalid byte sequence in UTF-8. ([@earlopain][])RedundantCurrentDirectoryInPath
in case ofrequire_relative
without arguments. ([@viralpraxis][])Layout/EmptyLineAfterMagicComment
when the file is comments only. ([@earlopain][])Layout/RedundantLineBreak
when using&&
or||
after a backslash newline. ([@koic][])Style/MultilineMethodSignature
when there is a newline directly after the def keyword. ([@earlopain][])Style/RaiseArgs
withEnforcedStyle: compact
when passing more than 2 arguments toraise
. ([@earlopain][])Lint/Syntax
getting disabled byrubocop:disable Lint/Syntax
. ([@earlopain][])Changes
LineLength
phase on--auto-gen-only-exclude
. ([@sambostock][])v1.62.0
Compare Source
New features
TargetRubyVersion 3.4
(experimental). ([@koic][])Bug fixes
Lint/ToEnumArguments
when enumerator is created for another method in no arguments method definition. ([@koic][])Style/RedundantLineContinuation
when using line concatenation and calling a method with keyword arguments without parentheses. ([@koic][])Style/Encoding
when magic encoding with mixed case present. ([@koic][])required_ruby_version
is read from another file. ([@davidrunger][])Layout/SpaceInsideHashLiteralBraces
. ([@bquorning][])v1.61.0
Compare Source
New features
--editor-mode
CLI option. ([@koic][])AutoCorrect: contextual
option for LSP. ([@koic][])OffenseCountFormatter
display autocorrection information. ([@koic][])RuboCop::LSP.enable
API to enable LSP mode. ([@koic][]).rubocop.yml
andrubocop/config.yml
in compliance with dot-config. ([@koic][])Bug fixes
Style/ArgumentsForwarding
when using block arg forwarding to within block with Ruby 3.3.0. ([@koic][])Gemspec/RequiredRubyVersion
whenrequired_ruby_version
is specified withGem::Requirement.new
and is higher thanTargetRubyVersion
. ([@koic][])Style/CaseLikeIf
when using==
with literal and using ternary operator. ([@koic][])Lint/EmptyConditionalBody
when missingif
body with conditionalelse
body. ([@koic][])Style/MapCompactWithConditionalBlock
when using guard clause withnext
implicitly nil. ([@koic][])Style/ObjectThen
when usingyield_self
without receiver. ([@koic][])--auto-gen-config
bug forLayout/SpaceBeforeBlockBraces
. ([@jonas054][])Style/CommentedKeyword
. ([@jonas054][])Include
from inherited file in a parent directory. ([@jonas054][])Layout/RedundantLineBreak
when using index access call chained on multiline hash literal. ([@koic][])Style/MultilineTernaryOperator
when nesting multiline ternary operators. ([@koic][])Style/RedundantAssignment
when using pattern matching. ([@koic][])Style/RedundantReturn
when using pattern matching. ([@koic][])Lint/RedundantSafeNavigation
when using safe navigation operator for literal receiver. ([@koic][])Style/ArgumentsForwarding
when using forwardable block arguments with Ruby 3.2+. ([@koic][])Lint/Void
wheneach
block with conditional expressions that has multiple statements. ([@koic][])Style/InverseMethods
when using relational comparison operator with safe navigation. ([@koic][])Style/InvertibleUnlessCondition
. ([@sambostock][])omit_parentheses
Style/MethodCallWithArgsParentheses
. ([@gsamokovarov][])Changes
Style/RaiseArgs
as unsafe. ([@r7kamura][])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 has been generated by Renovate Bot.