chore(deps): update dependency rubocop to '~> 1.63.0'
This MR contains the following updates:
Package | Update | Change |
---|---|---|
rubocop (source, changelog) | minor |
'~> 1.62.0' -> '~> 1.63.0'
|
Release Notes
rubocop/rubocop (rubocop)
v1.63.1
Bug fixes
-
#12828: Fix a false positive for
Lint/AssignmentInCondition
if assigning inside a method call. ([@earlopain][]) -
#12823: Fixed "uninitialized constant
RuboCop::Lockfile::Bundler
", caused when running RuboCop withoutbundler exec
on codebases that userubocop-rails
. ([@amomchilov][])
v1.63.0
New features
-
#11878: Add new
Style/MapIntoArray
cop. ([@ymap][]) -
#12186: Add new
requires_gem
API for declaring which gems a Cop needs. ([@amomchilov][])
Bug fixes
-
#12769: Fix a false positive for
Lint/RedundantWithIndex
when callingwith_index
with receiver and a block. ([@koic][]) - #12547: Added a comment recommending upgrading to the latest version of Rubocop in the error text when an Infinite loop detected error occurs. ([@Hiroto-Iizuka][])
-
#12782: Fix an error for
Style/Alias
withEnforcedStyle: prefer_alias
when callingalias_method
with fewer than 2 arguments. ([@earlopain][]) -
#12781: Fix an error for
Style/ExactRegexpMatch
when callingmatch
without a receiver. ([@earlopain][]) -
#12780: Fix an error for
Style/RedundantEach
when usingreverse_each.each
without a block. ([@earlopain][]) -
#12731: Treat
&.
the same way as.
for setter methods inLint/AssignmentInCondition
. ([@jonas054][]) -
#12793: Fix false positives for
Style/RedundantLineContinuation
when using line continuation with modifier. ([@koic][]) -
#12807: Fix false positives for
Naming/BlockForwarding
when using explicit block forwarding in block method and others. ([@koic][]) -
#12796: Fix false positives for
Style/EvalWithLocation
when usingeval
with a line number from a method call or a variable. ([@koic][]) -
#12794: Fix false positives for
Style/RedundantArgument
when when single-quoted strings for cntrl character. ([@koic][]) -
#12797: Fix false positives for
Style/RedundantLineContinuation
when using line continuations with&&
or||
operator in assignment. ([@koic][]) -
#12793: Fix false positives for
Style/RedundantLineContinuation
when multi-line continuations with operators. ([@koic][]) -
#12801: Fix incorrect autocorrect for
Style/CollectionCompact
when usingdelete_if
. ([@koic][]) -
#12789: Make
Style/RedundantPercentQ
safe on multiline strings. ([@boardfish][]) -
#12802: Return global offenses for
Naming/FileName
andNaming/InclusiveLanguage
for empty files. ([@earlopain][]) -
#12804: Return global offenses for
Style/Copyright
when the file is empty. ([@earlopain][])
Changes
- #12813: Add rubocop-rspec_rails to suggested extensions and extension doc. ([@ydah][])
-
#12820: Add support more Capybara debugger entry points for
Lint/Debugger
. ([@ydah][]) - #12676: Adjust offending range in LSP. ([@koic][])
-
#12815: Ignore
Rakefile.rb
inNaming/FileName
in the default config. ([@artur-intech][]) - #12800: Handle empty obsoletion config. ([@sambostock][])
-
#12721: Make
Lint/Debugger
aware ofruby/debug
requires. ([@earlopain][]) -
#12817: Make
rubocop -V
display rubocop-rspec_rails version when using it. ([@ydah][]) -
#12180: Replace regex with
Bundler::LockfileParser
. ([@amomchilov][])
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
Edited by renovate-bot