deps-dev: bump rubocop from 1.27.0 to 1.28.0
Created by: dependabot[bot]
Bumps rubocop from 1.27.0 to 1.28.0.
Changelog
Sourced from rubocop's changelog.
1.28.0 (2022-04-21)
New features
- #10551: Add
AllowComments
option toStyle/RedundantInitialize
is true by default. ([@koic
][])- #10552: Support autocorrection for
Style/RedundantInitialize
. ([@koic
][])- #10441: Add Security/CompoundHash Cop. ([
@sambostock
][], [@chrisseaton
][])- #10521: Add
use_builtin_english_names
style toStyle/SpecialGlobalVars
. ([@splattael
][])- #10522: Add new
Style/ObjectThen
cop. ([@ydah
][])- #10502: Add new
Style/FetchEnvVar
cop. ([@johnny-miyake
][])- #10544: Support auto-correction for
Lint/DuplicateRequire
. ([@koic
][])- #10481: Add command line options
--display-only-correctable
and--display-only-safe-correctable
. ([@nobuyo
][])Bug fixes
- #10528: Fix an infinite loop at autocorrect for
Layout/CaseIndentation
. ([@ydah
][])- #10537: Fix an incorrect auto-correct for
Style/MultilineTernaryOperator
when returning a multiline ternary operator expression withbreak
,next
, or method call. ([@koic
][])- #10529: Fix autocorrect for
Style/SoleNestedConditional
causes logical error when using a outer condition of method call by omitting parentheses for method arguments. ([@nobuyo
][])- #10530: Fix a false positive for
Style/RedundantRegexpCharacterClass
when using regexp character class with a character class containing multiple unicode code-points. ([@koic
][])- #10518: Fix a false positive for
Style/DoubleNegation
when inside returned conditional clauses with Ruby 2.7's pattern matching. ([@koic
][])- #10510: Fix an error for
Style/SingleArgumentDig
when using multipledig
in a method chain. ([@koic
][])- #10553: Fix crash with trailing tabs in heredocs for
Layout/TrailingWhitespace
. ([@dvandersluis
][])- #10488: Fix autocorrection for
Layout/MultilineMethodCallIndentation
breaks indentation for nesting of method calls. ([@nobuyo
][])- #10543: Fix incorrect code length calculation for few more patterns of hash folding asked. ([
@nobuyo
][])- #10541: Fix an incorrect autocorrect for
Style/SpecialGlobalVars
when global variable as Perl name is used multiple times. ([@koic
][])- #10514: Fix an error for
Lint/EmptyConditionalBody
when missing secondelsif
body. ([@koic
][])- #10469: Fix code length calculation when kwargs written in single line. ([
@nobuyo
][])Changes
- #10555: Deprecate
IgnoredPatterns
in favour ofAllowedPatterns
. ([@dvandersluis
][])- #10356: Add
AllowConsecutiveConditionals
option toStyle/GuardClause
and the option is false by default. ([@ydah
][])- #10524: Mark
Style/RedundantInitialize
as unsafe. ([@koic
][])- #10280: Add
AllowComments
option toStyle/SymbolProc
and the option is false by default. ([@ydah
][])
Commits
-
24ab7b2
Cut 1.28.0 -
3e11aa1
Update Changelog -
7fcb272
Support autocorrection forStyle/RedundantInitialize
-
e491166
Update uses ofIgnoredPatterns
toAllowedPatterns
. -
8ac5b59
Add obsoletion rules forAllowedPatterns
. -
7c9e611
RenameIgnoredPatterns
toAllowedPatterns
. -
e62a69a
[Fix #10553] Fix crash with trailing tabs in heredocs for `Layout/TrailingWhi... -
b4ea4c6
[Fix #10280] AddAllowComments
option toStyle/SymbolProc
-
7812417
[Fix #10488] Fix autocorrection forLayout/MultilineMethodCallIndentation
b... -
a2cfdc1
Fix an incorrect autocorrect forStyle/SpecialGlobalVars
- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)