Bump rubocop from 1.55.1 to 1.56.0
Bumps rubocop from 1.55.1 to 1.56.0.
Release notes
Sourced from rubocop's releases.
RuboCop 1.56
New features
- #12074: Add new
Bundler/DuplicatedGroup
cop. (@OwlKing
)- #12078: Make LSP server support
rubocop.formatAutocorrectsAll
execute command. (@koic
)Bug fixes
- #12106: Fix a false negative for
Style/RedundantReturn
when returning value with guard clause andreturn
is used. (@koic
)- #12095: Fix a false positive for
Style/Alias
whenEncforcedStyle: prefer_alias
and usingalias
with interpolated symbol argument. (@koic
)- #12098: Fix a false positive for
Style/ClassEqualityComparison
when comparing interpolated string class name for equality. (@koic
)- #12102: Fix an error for
Style/LambdaCall
when using nested lambda callx.().()
. (@koic
)- #12099: Fix an incorrect autocorrect for
Style/Alias
whenEncforcedStyle: prefer_alias_method
and usingalias
with interpolated symbol argument. (@koic
)- #12085: Fix an error for
Lint/SuppressedException
whenAllowNil: true
is set and endless method definition is used. (@koic
)- #12087: Fix false positives for
Style/ArgumentsForwarding
with additional args/kwargs in def/send nodes. (@owst
)- #12071: Fix
Style/SymbolArray
false positives when using square brackets or interpolation in a symbol literal in a percent style array. (@jasondoc3
)- #12061: Support regex in StringLiteralsInInterpolation. (
@jonas054
)- #12091: With
--fail-level A
ignore non-correctable offenses at :info severity. (@naveg
)Changes
Changelog
Sourced from rubocop's changelog.
1.56.0 (2023-08-09)
New features
- #12074: Add new
Bundler/DuplicatedGroup
cop. ([@OwlKing
][])- #12078: Make LSP server support
rubocop.formatAutocorrectsAll
execute command. ([@koic
][])Bug fixes
- #12106: Fix a false negative for
Style/RedundantReturn
when returning value with guard clause andreturn
is used. ([@koic
][])- #12095: Fix a false positive for
Style/Alias
whenEncforcedStyle: prefer_alias
and usingalias
with interpolated symbol argument. ([@koic
][])- #12098: Fix a false positive for
Style/ClassEqualityComparison
when comparing interpolated string class name for equality. ([@koic
][])- #12102: Fix an error for
Style/LambdaCall
when using nested lambda callx.().()
. ([@koic
][])- #12099: Fix an incorrect autocorrect for
Style/Alias
whenEncforcedStyle: prefer_alias_method
and usingalias
with interpolated symbol argument. ([@koic
][])- #12085: Fix an error for
Lint/SuppressedException
whenAllowNil: true
is set and endless method definition is used. ([@koic
][])- #12087: Fix false positives for
Style/ArgumentsForwarding
with additional args/kwargs in def/send nodes. ([@owst
][])- #12071: Fix
Style/SymbolArray
false positives when using square brackets or interpolation in a symbol literal in a percent style array. ([@jasondoc3
][])- #12061: Support regex in StringLiteralsInInterpolation. ([
@jonas054
][])- #12091: With
--fail-level A
ignore non-correctable offenses at :info severity. ([@naveg
][])Changes
Commits
-
e597ca1
Cut 1.56 -
3036b2c
Tweak whitespace -
74f0032
Update Changelog -
964235c
Add newBundler/DuplicatedGroup
cop (#12074) -
c078235
With--fail-level A
ignore non-correctable offenses at :info severity -
320ac56
Merge pull request #12103 from owst/fixup_additional_args_forwarding -
08e614f
[Fix #12087] Fix false positives for Style/ArgumentsForwarding -
f871c38
[Fix #12106] Fix a false negative forStyle/RedundantReturn
-
235f749
Merge pull request #12102 from koic/fix_an_error_for_style_lambda_call -
57dd392
Fix an error forStyle/LambdaCall
- Additional commits viewable in compare view
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
-
@dependabot-bot recreate
will recreate this MR rewriting all the manual changes and resolving conflicts