development-dependency: bump rubocop from 1.15.0 to 1.16.0
Bumps rubocop from 1.15.0 to 1.16.0.
Release notes
Sourced from rubocop's releases.
RuboCop 1.16
New features
- #9841: Support guard
if
andunless
syntax keywords of Ruby 2.7's pattern matching forLayout/SpaceAroundKeyword
. (@koic
)- #9812: Support auto-correction for
Style/IdenticalConditionalBranches
. (@koic
)- #9833: Add new
Style/InPatternThen
cop. (@koic
)- #9840: Adds
AllowedReceivers
option forStyle/HashEachMethods
. (@koic
)- #9818: Support Ruby 2.7's
in
pattern syntax forLayout/CaseIndentation
. (@koic
)- #9793: Add
Style/QuotedSymbols
to enforce consistency in quoted symbols. (@dvandersluis
)- #9825: Add new
Lint/EmptyInPattern
cop. (@koic
)- #9834: Add new
Style/MultilineInPatternThen
cop. (@koic
)Bug fixes
- #9822: Fix a false directive comment range for
Lint/RedundantCopDisableDirective
. (@koic
)- #9819: Fix a false negative for
Style/TopLevelMethodDefinition
when defining a top-level method after a class definition. (@koic
)- #9836: Fix incorrect corrections for
Layout/HashAlignment
when akwsplat
node is on the same line as apair
node with table style. (@dvandersluis
)- #9805: Fix a false negative for
Layout/HashAlignment
when setEnforcedStyle: with_fixed_indentation
ofArgumentAlignment
. (@koic
)- #9811: Fix an error for
Layout/ArgumentAlignment
withLayout/FirstHashElementIndentation
when settingEnforcedStyle: with_fixed_indentation
. (@koic
)Changes
- #9809: Change
Lint/SymbolConversion
to only quote with double quotes, sinceStyle/QuotedSymbols
can now correct those to the correct quotes as per configuration. (@dvandersluis
)
Changelog
Sourced from rubocop's changelog.
1.16.0 (2021-06-01)
New features
- #9841: Support guard
if
andunless
syntax keywords of Ruby 2.7's pattern matching forLayout/SpaceAroundKeyword
. ([@koic
][])- #9812: Support auto-correction for
Style/IdenticalConditionalBranches
. ([@koic
][])- #9833: Add new
Style/InPatternThen
cop. ([@koic
][])- #9840: Adds
AllowedReceivers
option forStyle/HashEachMethods
. ([@koic
][])- #9818: Support Ruby 2.7's
in
pattern syntax forLayout/CaseIndentation
. ([@koic
][])- #9793: Add
Style/QuotedSymbols
to enforce consistency in quoted symbols. ([@dvandersluis
][])- #9825: Add new
Lint/EmptyInPattern
cop. ([@koic
][])- #9834: Add new
Style/MultilineInPatternThen
cop. ([@koic
][])Bug fixes
- #9822: Fix a false directive comment range for
Lint/RedundantCopDisableDirective
. ([@koic
][])- #9819: Fix a false negative for
Style/TopLevelMethodDefinition
when defining a top-level method after a class definition. ([@koic
][])- #9836: Fix incorrect corrections for
Layout/HashAlignment
when akwsplat
node is on the same line as apair
node with table style. ([@dvandersluis
][])- #9805: Fix a false negative for
Layout/HashAlignment
when setEnforcedStyle: with_fixed_indentation
ofArgumentAlignment
. ([@koic
][])- #9811: Fix an error for
Layout/ArgumentAlignment
withLayout/FirstHashElementIndentation
when settingEnforcedStyle: with_fixed_indentation
. ([@koic
][])Changes
- #9809: Change
Lint/SymbolConversion
to only quote with double quotes, sinceStyle/QuotedSymbols
can now correct those to the correct quotes as per configuration. ([@dvandersluis
][])
Commits
-
68cd82e
Cut 1.16 -
31e2bd2
Update Changelog -
40e9f30
Support Ruby 2.7's pattern matching forLayout/SpaceAroundKeyword
-
6dfcb7a
[Fix #9839] AddAllowedReceivers
option forStyle/HashEachMethods
-
73575d1
[Fix #9836] Fix incorrect corrections forLayout/HashAlignment
when a `kwsp... -
3d2354c
Support Ruby 2.7's pattern matching syntax forLayout/SpaceAroundKeyword
-
b47de70
Add newStyle/MultilineInPatternThen
cop -
c95a145
Add newStyle/InPatternThen
cop -
9cb3e05
Support auto-correction forStyle/IdenticalConditionalBranches
-
2b27105
Add newLint/EmptyInPattern
cop - 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