rubocop/rubocop (rubocop)
### [`v1.53.1`](https://togithub.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1531-2023-06-26)
[Compare Source](https://togithub.com/rubocop/rubocop/compare/v1.53.0...v1.53.1)
##### Bug fixes
- [#11974](https://togithub.com/rubocop/rubocop/issues/11974): Fix an error for `Style/RedundantCurrentDirectoryInPath` when using string interpolation in `require_relative`. (\[[@koic](https://togithub.com/koic)]\[])
- [#11981](https://togithub.com/rubocop/rubocop/issues/11981): Fix an incorrect autocorrect for `Style/RedundantRegexpArgument` when using double quote and single quote characters. (\[[@koic](https://togithub.com/koic)]\[])
- [#11836](https://togithub.com/rubocop/rubocop/issues/11836): Should not offense single-quoted symbol containing double quotes in `Lint/SymbolConversion` . (\[[@KessaPassa](https://togithub.com/KessaPassa)]\[])
### [`v1.53.0`](https://togithub.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1530-2023-06-23)
[Compare Source](https://togithub.com/rubocop/rubocop/compare/v1.52.1...v1.53.0)
##### New features
- [#11561](https://togithub.com/rubocop/rubocop/pull/11561): Add new `Lint/MixedCaseRange` cop. (\[[@rwstauner](https://togithub.com/rwstauner)]\[])
- [#11565](https://togithub.com/rubocop/rubocop/pull/11565): Add new `Lint/RedundantRegexpQuantifiers` cop. (\[[@jaynetics](https://togithub.com/jaynetics)]\[])
- [#11925](https://togithub.com/rubocop/rubocop/issues/11925): Add new `Style/RedundantCurrentDirectoryInPath` cop. (\[[@koic](https://togithub.com/koic)]\[])
- [#11595](https://togithub.com/rubocop/rubocop/pull/11595): Add new `Style/RedundantRegexpArgument` cop. (\[[@koic](https://togithub.com/koic)]\[])
- [#11967](https://togithub.com/rubocop/rubocop/pull/11967): Add new `Style/ReturnNilInPredicateMethodDefinition` cop. (\[[@koic](https://togithub.com/koic)]\[])
- [#11745](https://togithub.com/rubocop/rubocop/pull/11745): Add new `Style/YAMLFileRead` cop. (\[[@koic](https://togithub.com/koic)]\[])
- [#11926](https://togithub.com/rubocop/rubocop/pull/11926): Support built-in LSP server. (\[[@koic](https://togithub.com/koic)]\[])
##### Bug fixes
- [#11953](https://togithub.com/rubocop/rubocop/issues/11953): Fix a false negative for `Lint/DuplicateHashKey` when there is a duplicated constant key in the hash literal. (\[[@koic](https://togithub.com/koic)]\[])
- [#11945](https://togithub.com/rubocop/rubocop/issues/11945): Fix a false negative for `Style/RedundantSelfAssignmentBranch` when using method chaining or arguments in ternary branch. (\[[@koic](https://togithub.com/koic)]\[])
- [#11949](https://togithub.com/rubocop/rubocop/issues/11949): Fix a false positive for `Layout/RedundantLineBreak` when using a line broken string. (\[[@koic](https://togithub.com/koic)]\[])
- [#11931](https://togithub.com/rubocop/rubocop/pull/11931): Fix a false positive for `Lint/RedundantRequireStatement` when using `PP.pp`. (\[[@koic](https://togithub.com/koic)]\[])
- [#11946](https://togithub.com/rubocop/rubocop/pull/11946): Fix an error for `Lint/NumberConversion` when using multiple number conversion methods. (\[[@koic](https://togithub.com/koic)]\[])
- [#11972](https://togithub.com/rubocop/rubocop/issues/11972): Fix an error for `Lint/Void` when `CheckForMethodsWithNoSideEffects: true` and using a method definition. (\[[@koic](https://togithub.com/koic)]\[])
- [#11958](https://togithub.com/rubocop/rubocop/pull/11958): Fix error for `Style/IdenticalConditionalBranches` when using empty parentheses in the `if` branch. (\[[@koic](https://togithub.com/koic)]\[])
- [#11962](https://togithub.com/rubocop/rubocop/issues/11962): Fix an error for `Style/RedundantStringEscape` when an escaped double quote precedes interpolation in a symbol literal. (\[[@koic](https://togithub.com/koic)]\[])
- [#11947](https://togithub.com/rubocop/rubocop/issues/11947): Fix an error for `Style/ConditionalAssignment` with an assignment that uses `if` branch bodies, which include a block. (\[[@koic](https://togithub.com/koic)]\[])
- [#11959](https://togithub.com/rubocop/rubocop/pull/11959): Fix false negatives for `Layout/EmptyLinesAroundExceptionHandlingKeywords` when using Ruby 2.5's `rescue` inside block and Ruby 2.7's numbered block. (\[[@koic](https://togithub.com/koic)]\[])
- [#10902](https://togithub.com/rubocop/rubocop/issues/10902): Fix an error for `Style/RedundantRegexpEscape` string with invalid byte sequence in UTF-8. (\[[@ydah](https://togithub.com/ydah)]\[])
- [#11562](https://togithub.com/rubocop/rubocop/pull/11562): Fixed escaped octal handling and detection in `Lint/DuplicateRegexpCharacterClassElement`. (\[[@rwstauner](https://togithub.com/rwstauner)]\[])
##### Changes
- [#11904](https://togithub.com/rubocop/rubocop/pull/11904): Mark `Layout/ClassStructure` as unsafe to autocorrect. (\[[@nevans](https://togithub.com/nevans)]\[])
- [#8506](https://togithub.com/rubocop/rubocop/issues/8506): Add `AllowedParentClasses` config to `Lint/MissingSuper`. (\[[@iMacTia](https://togithub.com/iMacTia)]\[])
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.52.0'
->'~> 1.53.0'
Release Notes
rubocop/rubocop (rubocop)
### [`v1.53.1`](https://togithub.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1531-2023-06-26) [Compare Source](https://togithub.com/rubocop/rubocop/compare/v1.53.0...v1.53.1) ##### Bug fixes - [#11974](https://togithub.com/rubocop/rubocop/issues/11974): Fix an error for `Style/RedundantCurrentDirectoryInPath` when using string interpolation in `require_relative`. (\[[@koic](https://togithub.com/koic)]\[]) - [#11981](https://togithub.com/rubocop/rubocop/issues/11981): Fix an incorrect autocorrect for `Style/RedundantRegexpArgument` when using double quote and single quote characters. (\[[@koic](https://togithub.com/koic)]\[]) - [#11836](https://togithub.com/rubocop/rubocop/issues/11836): Should not offense single-quoted symbol containing double quotes in `Lint/SymbolConversion` . (\[[@KessaPassa](https://togithub.com/KessaPassa)]\[]) ### [`v1.53.0`](https://togithub.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1530-2023-06-23) [Compare Source](https://togithub.com/rubocop/rubocop/compare/v1.52.1...v1.53.0) ##### New features - [#11561](https://togithub.com/rubocop/rubocop/pull/11561): Add new `Lint/MixedCaseRange` cop. (\[[@rwstauner](https://togithub.com/rwstauner)]\[]) - [#11565](https://togithub.com/rubocop/rubocop/pull/11565): Add new `Lint/RedundantRegexpQuantifiers` cop. (\[[@jaynetics](https://togithub.com/jaynetics)]\[]) - [#11925](https://togithub.com/rubocop/rubocop/issues/11925): Add new `Style/RedundantCurrentDirectoryInPath` cop. (\[[@koic](https://togithub.com/koic)]\[]) - [#11595](https://togithub.com/rubocop/rubocop/pull/11595): Add new `Style/RedundantRegexpArgument` cop. (\[[@koic](https://togithub.com/koic)]\[]) - [#11967](https://togithub.com/rubocop/rubocop/pull/11967): Add new `Style/ReturnNilInPredicateMethodDefinition` cop. (\[[@koic](https://togithub.com/koic)]\[]) - [#11745](https://togithub.com/rubocop/rubocop/pull/11745): Add new `Style/YAMLFileRead` cop. (\[[@koic](https://togithub.com/koic)]\[]) - [#11926](https://togithub.com/rubocop/rubocop/pull/11926): Support built-in LSP server. (\[[@koic](https://togithub.com/koic)]\[]) ##### Bug fixes - [#11953](https://togithub.com/rubocop/rubocop/issues/11953): Fix a false negative for `Lint/DuplicateHashKey` when there is a duplicated constant key in the hash literal. (\[[@koic](https://togithub.com/koic)]\[]) - [#11945](https://togithub.com/rubocop/rubocop/issues/11945): Fix a false negative for `Style/RedundantSelfAssignmentBranch` when using method chaining or arguments in ternary branch. (\[[@koic](https://togithub.com/koic)]\[]) - [#11949](https://togithub.com/rubocop/rubocop/issues/11949): Fix a false positive for `Layout/RedundantLineBreak` when using a line broken string. (\[[@koic](https://togithub.com/koic)]\[]) - [#11931](https://togithub.com/rubocop/rubocop/pull/11931): Fix a false positive for `Lint/RedundantRequireStatement` when using `PP.pp`. (\[[@koic](https://togithub.com/koic)]\[]) - [#11946](https://togithub.com/rubocop/rubocop/pull/11946): Fix an error for `Lint/NumberConversion` when using multiple number conversion methods. (\[[@koic](https://togithub.com/koic)]\[]) - [#11972](https://togithub.com/rubocop/rubocop/issues/11972): Fix an error for `Lint/Void` when `CheckForMethodsWithNoSideEffects: true` and using a method definition. (\[[@koic](https://togithub.com/koic)]\[]) - [#11958](https://togithub.com/rubocop/rubocop/pull/11958): Fix error for `Style/IdenticalConditionalBranches` when using empty parentheses in the `if` branch. (\[[@koic](https://togithub.com/koic)]\[]) - [#11962](https://togithub.com/rubocop/rubocop/issues/11962): Fix an error for `Style/RedundantStringEscape` when an escaped double quote precedes interpolation in a symbol literal. (\[[@koic](https://togithub.com/koic)]\[]) - [#11947](https://togithub.com/rubocop/rubocop/issues/11947): Fix an error for `Style/ConditionalAssignment` with an assignment that uses `if` branch bodies, which include a block. (\[[@koic](https://togithub.com/koic)]\[]) - [#11959](https://togithub.com/rubocop/rubocop/pull/11959): Fix false negatives for `Layout/EmptyLinesAroundExceptionHandlingKeywords` when using Ruby 2.5's `rescue` inside block and Ruby 2.7's numbered block. (\[[@koic](https://togithub.com/koic)]\[]) - [#10902](https://togithub.com/rubocop/rubocop/issues/10902): Fix an error for `Style/RedundantRegexpEscape` string with invalid byte sequence in UTF-8. (\[[@ydah](https://togithub.com/ydah)]\[]) - [#11562](https://togithub.com/rubocop/rubocop/pull/11562): Fixed escaped octal handling and detection in `Lint/DuplicateRegexpCharacterClassElement`. (\[[@rwstauner](https://togithub.com/rwstauner)]\[]) ##### Changes - [#11904](https://togithub.com/rubocop/rubocop/pull/11904): Mark `Layout/ClassStructure` as unsafe to autocorrect. (\[[@nevans](https://togithub.com/nevans)]\[]) - [#8506](https://togithub.com/rubocop/rubocop/issues/8506): Add `AllowedParentClasses` config to `Lint/MissingSuper`. (\[[@iMacTia](https://togithub.com/iMacTia)]\[])Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.