Update dependency rubocop to v1.64.1 #18
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.
This PR contains the following updates:
1.62.1
->1.64.1
Release Notes
rubocop/rubocop (rubocop)
v1.64.1
Compare Source
Bug fixes
Style/Copyright
whenAutocorrectNotice
is missing. ([@koic][])Style/SuperArguments
when the methods block argument is reassigned beforesuper
. ([@earlopain][])Style/RedundantLineContinuation
when line continuations involvebreak
,next
, oryield
with a return value. ([@koic][])Style/SendWithLiteralMethodName
whenpublic_send
argument is a method name that cannot be autocorrected. ([@koic][])v1.64.0
Compare Source
New features
either_consistent
SupportedShorthandSyntax
toStyle/HashSyntax
. ([@pawelma][])Style/SendWithLiteralMethodName
cop. ([@koic][])Style/SuperArguments
cop. ([@earlopain][])--format
command line option. ([@koic][])AllowModifiersOnAttrs
option forStyle/AccessModifierDeclarations
. ([@krororo][])AllowedMethods
forStyle/DocumentationMethod
. ([@koic][])Bug fixes
Style/Copyright
when using multiline copyright notice. ([@koic][])Layout/EmptyComment
when using an empty comment next to code after comment line. ([@koic][])Style/ArgumentsForwarding
when forward target issuper
. ([@koic][])Style/ArgumentsForwarding
when forward target is safe navigation method. ([@koic][])Style/MapIntoArray
when usingeach
without receiver with<<
to build an array. ([@koic][])--no-exclude-limit
generating a todo withMax
config instead of listing everything out withExclude
. ([@earlopain][])TargetRailsVersion
when parsing from the lockfile with prerelease rails. ([@earlopain][])Changes
cop.documentation_url
with--show-docs-url
when passing a config as argument. ([@earlopain][])ActiveSupportExtensionsEnabled
forStyle/SymbolProc
. ([@koic][])workspace/executeCommand
LSP method. ([@koic][])v1.63.5
Compare Source
Bug fixes
Layout/FirstArgumentIndentation
when specifyingEnforcedStyle: with_fixed_indentation
ofLayout/ArrayAlignment
. ([@koic][])Metrics/BlockLength
when theCountAsOne
config is invalid. ([@koic][])Style/NumericPredicate
is used with negations. ([@fatkodima][])Layout/CommentIndentation
for comment-only pattern matching. ([@nekketsuuu][])v1.63.4
Compare Source
Bug fixes
rubocop -V
when.rubocop.yml
contains ERB. ([@earlopain][])Style/RedundantLineContinuation
when line continuations involvereturn
with a return value. ([@koic][])textDocument/diagnostic
. ([@muxcmux][])bundle exec
. ([@amomchilov][])v1.63.3
Compare Source
Bug fixes
Lint/UnreachableCode
when using pattern matching. ([@koic][])Lint/EmptyFile
in formatters when using cache. ([@earlopain][])RuboCop::Lockfile
when the constant Bundler is uninitialized. ([@koic][])Changes
v1.63.2
Compare Source
Bug fixes
Lint/MixedCaseRange
when a character betweenZ
anda
is used in the regexp range. ([@koic][])RuboCop::Lockfile
when there is no Bundler environment. ([@koic][])Style/ArgumentsForwarding
when using block arg in nested method definitions. ([@koic][])Lint/UnreachableLoop
when using pattern matching. ([@koic][])Changes
debug/open_nonstop
fromLint/Debugger
by default. ([@koic][])v1.63.1
Compare Source
Bug fixes
Lint/AssignmentInCondition
if assigning inside a method call. ([@earlopain][])RuboCop::Lockfile::Bundler
", caused when running RuboCop withoutbundler exec
on codebases that userubocop-rails
. ([@amomchilov][])v1.63.0
Compare Source
New features
Style/MapIntoArray
cop. ([@ymap][])requires_gem
API for declaring which gems a Cop needs. ([@amomchilov][])Bug fixes
Lint/RedundantWithIndex
when callingwith_index
with receiver and a block. ([@koic][])Style/Alias
withEnforcedStyle: prefer_alias
when callingalias_method
with fewer than 2 arguments. ([@earlopain][])Style/ExactRegexpMatch
when callingmatch
without a receiver. ([@earlopain][])Style/RedundantEach
when usingreverse_each.each
without a block. ([@earlopain][])&.
the same way as.
for setter methods inLint/AssignmentInCondition
. ([@jonas054][])Style/RedundantLineContinuation
when using line continuation with modifier. ([@koic][])Naming/BlockForwarding
when using explicit block forwarding in block method and others. ([@koic][])Style/EvalWithLocation
when usingeval
with a line number from a method call or a variable. ([@koic][])Style/RedundantArgument
when when single-quoted strings for cntrl character. ([@koic][])Style/RedundantLineContinuation
when using line continuations with&&
or||
operator in assignment. ([@koic][])Style/RedundantLineContinuation
when multi-line continuations with operators. ([@koic][])Style/CollectionCompact
when usingdelete_if
. ([@koic][])Style/RedundantPercentQ
safe on multiline strings. ([@boardfish][])Naming/FileName
andNaming/InclusiveLanguage
for empty files. ([@earlopain][])Style/Copyright
when the file is empty. ([@earlopain][])Changes
Lint/Debugger
. ([@ydah][])Rakefile.rb
inNaming/FileName
in the default config. ([@artur-intech][])Lint/Debugger
aware ofruby/debug
requires. ([@earlopain][])rubocop -V
display rubocop-rspec_rails version when using it. ([@ydah][])Bundler::LockfileParser
. ([@amomchilov][])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 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.