development-dependency: bump rubocop from 1.20.0 to 1.21.0
Bumps rubocop from 1.20.0 to 1.21.0.
Release notes
Sourced from rubocop's releases.
RuboCop 1.21
New features
- #7849: Add new
Lint/AmbiguousOperatorPrecedence
cop. (@dvandersluis
)- #9061: Add new
Lint/IncompatibleIoSelectWithFiberScheduler
cop. (@koic
)Bug fixes
- #10067: Fix an error for
Lint/NumberConversion
when using nested number conversion methods. (@koic
)- #10054: Fix a false positive for
Layout/SpaceAroundOperators
when match operators between<<
and+=
. (@koic
)- #10061: Fix a false positive for
Style/RedundantSort
when usingsize
method in the block. (@koic
)- #10063: Fix a false positive for
Layout/SingleLineBlockChain
when method call chained on a new line after a single line block with trailing dot. (@koic
)- #10064: Fix
Style/ExplicitBlockArgument
corrector assuming any existing block argument was namedblock
. (@byroot
)- #10070: Fix a false positive for
Style/MutableConstant
when using non-interpolated heredoc in Ruby 3.0. (@koic
)Changes
- #9674: Disable
Style/AsciiComments
by default. (@dvandersluis
)- #10051: Improve the messaging for
Style/Documentation
to be more clear about what class/module needs documentation. (@dvandersluis
)- #10074: Update
Naming/InclusiveLanguage
to be disabled by default. (@dvandersluis
)- #10068: Mark
Style/AndOr
as unsafe auto-correction. (@koic
)
Changelog
Sourced from rubocop's changelog.
1.21.0 (2021-09-13)
New features
- #7849: Add new
Lint/AmbiguousOperatorPrecedence
cop. ([@dvandersluis
][])- #9061: Add new
Lint/IncompatibleIoSelectWithFiberScheduler
cop. ([@koic
][])Bug fixes
- #10067: Fix an error for
Lint/NumberConversion
when using nested number conversion methods. ([@koic
][])- #10054: Fix a false positive for
Layout/SpaceAroundOperators
when match operators between<<
and+=
. ([@koic
][])- #10061: Fix a false positive for
Style/RedundantSort
when usingsize
method in the block. ([@koic
][])- #10063: Fix a false positive for
Layout/SingleLineBlockChain
when method call chained on a new line after a single line block with trailing dot. ([@koic
][])- #10064: Fix
Style/ExplicitBlockArgument
corrector assuming any existing block argument was namedblock
. ([@byroot
][])- #10070: Fix a false positive for
Style/MutableConstant
when using non-interpolated heredoc in Ruby 3.0. ([@koic
][])Changes
- #9674: Disable
Style/AsciiComments
by default. ([@dvandersluis
][])- #10051: Improve the messaging for
Style/Documentation
to be more clear about what class/module needs documentation. ([@dvandersluis
][])- #10074: Update
Naming/InclusiveLanguage
to be disabled by default. ([@dvandersluis
][])- #10068: Mark
Style/AndOr
as unsafe auto-correction. ([@koic
][])
Commits
-
25112e6
Cut 1.21 -
4593883
Update Changelog -
f7c21e1
[Fix #9061] Add newLint/IncompatibleIoSelectWithFiberScheduler
cop -
d199e94
UpdateNaming/InclusiveLanguage
to be disabled by default. -
eac703f
[Fix #10070] Fix a false positive forStyle/MutableConstant
-
6d1ce3b
MarkStyle/AndOr
as unsafe auto-correction -
1ad1f12
Fix an error forLint/NumberConversion
-
b9de8e8
Merge pull request #10064 from casperisfine/explicit-block-corrector -
e44b0a8
Style/ExplicitBlockArgument: do not assume the block parameter name -
8585c75
Merge pull request #10063 from koic/fix_a_false_positive_for_layout_single_li... - 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