rubocop/rubocop (rubocop)
### [`v1.54.1`](https://togithub.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1541-2023-07-04)
[Compare Source](https://togithub.com/rubocop/rubocop/compare/v1.54.0...v1.54.1)
##### Bug fixes
- [#12024](https://togithub.com/rubocop/rubocop/issues/12024): Fix a false positive for `Lint/RedundantRegexpQuantifiers` when interpolation is used in a regexp literal. (\[[@koic](https://togithub.com/koic)]\[])
- [#12020](https://togithub.com/rubocop/rubocop/issues/12020): This PR fixes an infinite loop error for `Layout/SpaceAfterComma` with `Layout/SpaceBeforeSemicolon` when autocorrection conflicts. (\[[@koic](https://togithub.com/koic)]\[])
- [#12014](https://togithub.com/rubocop/rubocop/pull/12014): Fix an error for `Lint/UselessAssignment` when part of a multiple assignment is enclosed in parentheses. (\[[@koic](https://togithub.com/koic)]\[])
- [#12011](https://togithub.com/rubocop/rubocop/pull/12011): Fix an error for `Metrics/MethodLength` when using a heredoc in a block without block arguments. (\[[@koic](https://togithub.com/koic)]\[])
- [#12010](https://togithub.com/rubocop/rubocop/pull/12010): Fix false negatives for `Style/RedundantRegexpArgument` when using safe navigation operator. (\[[@koic](https://togithub.com/koic)]\[])
### [`v1.54.0`](https://togithub.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1540-2023-07-01)
[Compare Source](https://togithub.com/rubocop/rubocop/compare/v1.53.1...v1.54.0)
##### New features
- [#12000](https://togithub.com/rubocop/rubocop/pull/12000): Support safe or unsafe autocorrect config for LSP. (\[[@koic](https://togithub.com/koic)]\[])
##### Bug fixes
- [#12005](https://togithub.com/rubocop/rubocop/issues/12005): Fix a false negative for `Lint/Debugger` when using debugger method inside lambda. (\[[@koic](https://togithub.com/koic)]\[])
- [#11986](https://togithub.com/rubocop/rubocop/issues/11986): Fix a false positive for `Lint/MixedCaseRange` when the number of characters at the start or end of range is other than 1. (\[[@koic](https://togithub.com/koic)]\[])
- [#11992](https://togithub.com/rubocop/rubocop/issues/11992): Fix an unexpected `NoMethodError` for built-in language server when an internal error occurs. (\[[@koic](https://togithub.com/koic)]\[])
- [#11994](https://togithub.com/rubocop/rubocop/issues/11994): Fix an error for `Layout/LineEndStringConcatenationIndentation` when inspecting the `%` from string `%\n\n`. (\[[@koic](https://togithub.com/koic)]\[])
- [#12007](https://togithub.com/rubocop/rubocop/issues/12007): Fix an error for `Layout/SpaceAroundOperators` when using unary operator with double colon. (\[[@koic](https://togithub.com/koic)]\[])
- [#11996](https://togithub.com/rubocop/rubocop/issues/11996): Fix an error for `Style/IfWithSemicolon` when without branch bodies. (\[[@koic](https://togithub.com/koic)]\[])
- [#12009](https://togithub.com/rubocop/rubocop/pull/12009): Fix an error for `Style/YodaCondition` when equality check method is used without the first argument. (\[[@koic](https://togithub.com/koic)]\[])
- [#11998](https://togithub.com/rubocop/rubocop/issues/11998): Fix an error when inspecting blank heredoc delimiter. (\[[@koic](https://togithub.com/koic)]\[])
- [#11989](https://togithub.com/rubocop/rubocop/issues/11989): Fix an incorrect autocorrect for `Style/RedundantRegexpArgument` when using unicode chars. (\[[@koic](https://togithub.com/koic)]\[])
- [#12001](https://togithub.com/rubocop/rubocop/issues/12001): Fix code length calculator for method calls with heredoc. (\[[@fatkodima](https://togithub.com/fatkodima)]\[])
- [#12002](https://togithub.com/rubocop/rubocop/pull/12002): Fix `Lint/Void` cop for `__ENCODING__` constant. (\[[@fatkodima](https://togithub.com/fatkodima)]\[])
##### Changes
- [#11983](https://togithub.com/rubocop/rubocop/pull/11983): Add Ridgepole files to default `Include` list. (\[[@ydah](https://togithub.com/ydah)]\[])
- [#11738](https://togithub.com/rubocop/rubocop/issues/11738): Enhances empty_line_between_defs to treat configured macros like defs. (\[[@catwomey](https://togithub.com/catwomey)]\[])
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
'~> 1.53.0'
->'~> 1.54.0'
Release Notes
rubocop/rubocop (rubocop)
### [`v1.54.1`](https://togithub.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1541-2023-07-04) [Compare Source](https://togithub.com/rubocop/rubocop/compare/v1.54.0...v1.54.1) ##### Bug fixes - [#12024](https://togithub.com/rubocop/rubocop/issues/12024): Fix a false positive for `Lint/RedundantRegexpQuantifiers` when interpolation is used in a regexp literal. (\[[@koic](https://togithub.com/koic)]\[]) - [#12020](https://togithub.com/rubocop/rubocop/issues/12020): This PR fixes an infinite loop error for `Layout/SpaceAfterComma` with `Layout/SpaceBeforeSemicolon` when autocorrection conflicts. (\[[@koic](https://togithub.com/koic)]\[]) - [#12014](https://togithub.com/rubocop/rubocop/pull/12014): Fix an error for `Lint/UselessAssignment` when part of a multiple assignment is enclosed in parentheses. (\[[@koic](https://togithub.com/koic)]\[]) - [#12011](https://togithub.com/rubocop/rubocop/pull/12011): Fix an error for `Metrics/MethodLength` when using a heredoc in a block without block arguments. (\[[@koic](https://togithub.com/koic)]\[]) - [#12010](https://togithub.com/rubocop/rubocop/pull/12010): Fix false negatives for `Style/RedundantRegexpArgument` when using safe navigation operator. (\[[@koic](https://togithub.com/koic)]\[]) ### [`v1.54.0`](https://togithub.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1540-2023-07-01) [Compare Source](https://togithub.com/rubocop/rubocop/compare/v1.53.1...v1.54.0) ##### New features - [#12000](https://togithub.com/rubocop/rubocop/pull/12000): Support safe or unsafe autocorrect config for LSP. (\[[@koic](https://togithub.com/koic)]\[]) ##### Bug fixes - [#12005](https://togithub.com/rubocop/rubocop/issues/12005): Fix a false negative for `Lint/Debugger` when using debugger method inside lambda. (\[[@koic](https://togithub.com/koic)]\[]) - [#11986](https://togithub.com/rubocop/rubocop/issues/11986): Fix a false positive for `Lint/MixedCaseRange` when the number of characters at the start or end of range is other than 1. (\[[@koic](https://togithub.com/koic)]\[]) - [#11992](https://togithub.com/rubocop/rubocop/issues/11992): Fix an unexpected `NoMethodError` for built-in language server when an internal error occurs. (\[[@koic](https://togithub.com/koic)]\[]) - [#11994](https://togithub.com/rubocop/rubocop/issues/11994): Fix an error for `Layout/LineEndStringConcatenationIndentation` when inspecting the `%` from string `%\n\n`. (\[[@koic](https://togithub.com/koic)]\[]) - [#12007](https://togithub.com/rubocop/rubocop/issues/12007): Fix an error for `Layout/SpaceAroundOperators` when using unary operator with double colon. (\[[@koic](https://togithub.com/koic)]\[]) - [#11996](https://togithub.com/rubocop/rubocop/issues/11996): Fix an error for `Style/IfWithSemicolon` when without branch bodies. (\[[@koic](https://togithub.com/koic)]\[]) - [#12009](https://togithub.com/rubocop/rubocop/pull/12009): Fix an error for `Style/YodaCondition` when equality check method is used without the first argument. (\[[@koic](https://togithub.com/koic)]\[]) - [#11998](https://togithub.com/rubocop/rubocop/issues/11998): Fix an error when inspecting blank heredoc delimiter. (\[[@koic](https://togithub.com/koic)]\[]) - [#11989](https://togithub.com/rubocop/rubocop/issues/11989): Fix an incorrect autocorrect for `Style/RedundantRegexpArgument` when using unicode chars. (\[[@koic](https://togithub.com/koic)]\[]) - [#12001](https://togithub.com/rubocop/rubocop/issues/12001): Fix code length calculator for method calls with heredoc. (\[[@fatkodima](https://togithub.com/fatkodima)]\[]) - [#12002](https://togithub.com/rubocop/rubocop/pull/12002): Fix `Lint/Void` cop for `__ENCODING__` constant. (\[[@fatkodima](https://togithub.com/fatkodima)]\[]) ##### Changes - [#11983](https://togithub.com/rubocop/rubocop/pull/11983): Add Ridgepole files to default `Include` list. (\[[@ydah](https://togithub.com/ydah)]\[]) - [#11738](https://togithub.com/rubocop/rubocop/issues/11738): Enhances empty_line_between_defs to treat configured macros like defs. (\[[@catwomey](https://togithub.com/catwomey)]\[])Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.