dep-dev: bump rubocop from 1.26.1 to 1.27.0
Bumps rubocop from 1.26.1 to 1.27.0.
Release notes
Sourced from rubocop's releases.
RuboCop 1.27
New features
- #10500: Add new
Lint/RefinementImportMethods
cop. (@koic
)- #10438: Add new
Style/RedundantInitialize
cop to check for unnecessaryinitialize
methods. (@dvandersluis
)Bug fixes
- #10464: Fix an incorrect autocorrect for
Lint/IncompatibleIoSelectWithFiberScheduler
when usingIO.select
with read (or write) argument and using return value. (@koic
)- #10506: Fix an error for
Style/RaiseArgs
whenraise
withnew
method without receiver. (@koic
)- #10479: Fix a false positive for
Lint/ShadowingOuterLocalVariable
conditional statement and block variable. (@ydah
)- #10189: Fix
--display-style-guide
so it works together with--format offenses
. (@jonas054
)- #10465: Fix false positive for
Naming/BlockForwarding
when the block argument is assigned. (@dvandersluis
)- #10491: Improve the handling of comments in
Lint/EmptyConditionalBody
,Lint/EmptyInPattern
andLint/EmptyWhen
whenAllowComments
is set totrue
. (@Darhazer
)- #10504: Fix a false positive for
Lint/UnusedMethodArgument
when usingraise NotImplementedError
with optional arguments. (@koic
)- #10494: Fix a false positive for
Style/HashSyntax
whenreturn
with one lineif
condition follows (without parentheses). (@koic
)- #10311: Fix false negative inside
do
..end
forLayout/RedundantLineBreak
. (@jonas054
)- #10468: Fix a false positive for
Style/FileWrite
when a splat argument is passed tof.write
. (@koic
)- #10474: Fix a false positive for
Style/DoubleNegation
withEnforcedStyle: allowed_in_returns
when inside returned conditional clauses. (@ydah
)- #10388: Fix an incorrectly adds a disable statement for
Layout/SpaceInsideArrayLiteralBrackets
with--disable-uncorrectable
. (@ydah
)- #10489: Fix a false positive for
Lint/LambdaWithoutLiteralBlock
when using lambda with a symbol proc. (@koic
)Changes
Changelog
Sourced from rubocop's changelog.
1.27.0 (2022-04-08)
New features
- #10500: Add new
Lint/RefinementImportMethods
cop. ([@koic
][])- #10438: Add new
Style/RedundantInitialize
cop to check for unnecessaryinitialize
methods. ([@dvandersluis
][])Bug fixes
- #10464: Fix an incorrect autocorrect for
Lint/IncompatibleIoSelectWithFiberScheduler
when usingIO.select
with read (or write) argument and using return value. ([@koic
][])- #10506: Fix an error for
Style/RaiseArgs
whenraise
withnew
method without receiver. ([@koic
][])- #10479: Fix a false positive for
Lint/ShadowingOuterLocalVariable
conditional statement and block variable. ([@ydah
][])- #10189: Fix
--display-style-guide
so it works together with--format offenses
. ([@jonas054
][])- #10465: Fix false positive for
Naming/BlockForwarding
when the block argument is assigned. ([@dvandersluis
][])- #10491: Improve the handling of comments in
Lint/EmptyConditionalBody
,Lint/EmptyInPattern
andLint/EmptyWhen
whenAllowComments
is set totrue
. ([@Darhazer
][])- #10504: Fix a false positive for
Lint/UnusedMethodArgument
when usingraise NotImplementedError
with optional arguments. ([@koic
][])- #10494: Fix a false positive for
Style/HashSyntax
whenreturn
with one lineif
condition follows (without parentheses). ([@koic
][])- #10311: Fix false negative inside
do
..end
forLayout/RedundantLineBreak
. ([@jonas054
][])- #10468: Fix a false positive for
Style/FileWrite
when a splat argument is passed tof.write
. ([@koic
][])- #10474: Fix a false positive for
Style/DoubleNegation
withEnforcedStyle: allowed_in_returns
when inside returned conditional clauses. ([@ydah
][])- #10388: Fix an incorrectly adds a disable statement for
Layout/SpaceInsideArrayLiteralBrackets
with--disable-uncorrectable
. ([@ydah
][])- #10489: Fix a false positive for
Lint/LambdaWithoutLiteralBlock
when using lambda with a symbol proc. ([@koic
][])Changes
Commits
-
72bb04e
Cut 1.27.0 -
4eab5cf
Update Changelog -
cf956fd
[Fix #10191] AddMaxChainLength
option toStyle/SafeNavigation
(#10508) -
e95b933
[Fix #10506] Fix an error forStyle/RaiseArgs
-
253297e
[Fix #10504] Fix a false positive forLint/UnusedMethodArgument
-
7e148bf
Add newLint/RefinementImportMethods
cop -
b857cab
Resolve realpath of the home directory -
2c436e4
[Fix #10189] Support --display-style-guide with -f offenses -
5c2eb28
[Fix #10388] Fix an incorrectly adds a disable statement for `Layout/SpaceIns... -
6ff094b
[Fix #10489] Fix a false positive forLint/LambdaWithoutLiteralBlock
- Additional commits viewable in compare view
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
-
@dependabot-bot rebase
will rebase this MR -
@dependabot-bot recreate
will recreate this MR rewriting all the manual changes and resolving conflicts