Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump rubocop from 1.65.1 to 1.66.0 in the linters group (#3920)
Bumps the linters group with 1 update: [rubocop](https://github.com/rubocop/rubocop). Updates `rubocop` from 1.65.1 to 1.66.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/rubocop/rubocop/releases">rubocop's releases</a>.</em></p> <blockquote> <h2>RuboCop 1.66</h2> <h3>New features</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13077">#13077</a>: Add new global <code>StringLiteralsFrozenByDefault</code> option for correct analysis with <code>RUBYOPT=--enable=frozen-string-literal</code>. (<a href="https://github.com/earlopain"><code>@earlopain</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13080">#13080</a>: Add new <code>DocumentationExtension</code> global option to serve documentation with extensions different than <code>.html</code>. (<a href="https://github.com/earlopain"><code>@earlopain</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13074">#13074</a>: Add new <code>Lint/UselessNumericOperation</code> cop to check for inconsequential numeric operations. (<a href="https://github.com/zopolis4"><code>@zopolis4</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13061">#13061</a>: Add new <code>Style/RedundantInterpolationUnfreeze</code> cop to check for <code>dup</code> and <code>@+</code> on interpolated strings in Ruby >= 3.0. (<a href="https://github.com/earlopain"><code>@earlopain</code></a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13093">#13093</a>: Fix an error for <code>Lint/ImplicitStringConcatenation</code> when implicitly concatenating a string literal with a line break and string interpolation. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13098">#13098</a>: Fix an error for <code>Style/IdenticalConditionalBranches</code> when handling empty case branches. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13113">#13113</a>: Fix an error for <code>Style/IfWithSemicolon</code> when a nested <code>if</code> with a semicolon is used. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13097">#13097</a>: Fix an error for <code>Style/InPatternThen</code> when using alternative pattern matching deeply. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13159">#13159</a>: Fix an error for <code>Style/OneLineConditional</code> when using if/then/else/end with multiple expressions in the <code>then</code> body. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13092">#13092</a>: Fix an incorrect autocorrect for <code>Layout/EmptyLineBetweenDefs</code> when two method definitions are on the same line separated by a semicolon. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13116">#13116</a>: Fix an incorrect autocorrect for <code>Style/IfWithSemicolon</code> when a single-line <code>if/;/end</code> has an argument in the then body expression. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13161">#13161</a>: Fix incorrect autocorrect for <code>Style/IfWithSemicolon</code> when using multiple expressions in the <code>else</code> body. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13132">#13132</a>: Fix incorrect autocorrect for <code>Style/TrailingBodyOnMethodDefinition</code> when an expression precedes a method definition on the same line with a semicolon. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13164">#13164</a>: Fix incorrect autocorrect behavior for <code>Layout/BlockAlignment</code> when <code>EnforcedStyleAlignWith: either (default)</code>. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13087">#13087</a>: Fix an incorrect autocorrect for <code>Style/MultipleComparison</code> when expression with more comparisons precedes an expression with less comparisons. ([<a href="https://github.com/fatkodima"><code>@fatkodima</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13172">#13172</a>: Fix an error for <code>Layout/EmptyLinesAroundExceptionHandlingKeywords</code> when <code>ensure</code> or <code>else</code> and <code>end</code> are on the same line. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13107">#13107</a>: Fix an error for <code>Lint/ImplicitStringConcatenation</code> when there are multiple adjacent string interpolation literals on the same line. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13111">#13111</a>: Fix an error for <code>Style/GuardClause</code> when if clause is empty and correction would not fit on single line because of <code>Layout/LineLength</code>. (<a href="https://github.com/earlopain"><code>@earlopain</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13137">#13137</a>: Fix an error for <code>Style/ParallelAssignment</code> when using <code>__FILE__</code>. (<a href="https://github.com/earlopain"><code>@earlopain</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13143">#13143</a>: Fix an error during <code>TargetRubyVersion</code> detection if the gemspec is not valid syntax. (<a href="https://github.com/earlopain"><code>@earlopain</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13131">#13131</a>: Fix false negatives for <code>Lint/Void</code> when using <code>ensure</code>, <code>defs</code> and <code>numblock</code>. ([<a href="https://github.com/vlad-pisanov"><code>@vlad-pisanov</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13174">#13174</a>: Fix false negatives for <code>Style/MapIntoArray</code> when initializing the destination using <code>Array[]</code>, <code>Array([])</code>, or <code>Array.new([])</code>. ([<a href="https://github.com/vlad-pisanov"><code>@vlad-pisanov</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13173">#13173</a>: Fix false negatives for <code>Style/EmptyLiteral</code> when using <code>Array[]</code>, <code>Hash[]</code>, <code>Array.new([])</code> and <code>Hash.new([])</code>. ([<a href="https://github.com/vlad-pisanov"><code>@vlad-pisanov</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13126">#13126</a>: Fix a false positive for <code>Style/Alias</code> when using multiple <code>alias</code> in <code>def</code>. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13085">#13085</a>: Fix a false positive for <code>Style/EmptyElse</code> when a comment-only <code>else</code> is used after <code>elsif</code> and <code>AllowComments: true</code> is set. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13118">#13118</a>: Fix a false positive for <code>Style/MapIntoArray</code> when splatting. (<a href="https://github.com/earlopain"><code>@earlopain</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13105">#13105</a>: Fix false positives for <code>Style/ArgumentsForwarding</code> when forwarding kwargs/block arg with non-matching additional args. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13139">#13139</a>: Fix false positives for <code>Style/RedundantCondition</code> when using modifier <code>if</code> or <code>unless</code>. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13134">#13134</a>: Fix false negative for <code>Lint/Void</code> when using using frozen literals. ([<a href="https://github.com/vlad-pisanov"><code>@vlad-pisanov</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13148">#13148</a>: Fix incorrect autocorrect for <code>Lint/EmptyConditionalBody</code> when missing <code>elsif</code> body with <code>end</code> on the same line. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13109">#13109</a>: Fix an error for the <code>Lockfile</code> parser when it contains incompatible <code>BUNDLED WITH</code> versions. (<a href="https://github.com/earlopain"><code>@earlopain</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13112">#13112</a>: Fix detection of <code>TargetRubyVersion</code> through the gemfile if the gemfile ruby version is below 2.7. (<a href="https://github.com/earlopain"><code>@earlopain</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13155">#13155</a>: Fixes an error when the server cache directory has too long path, causing rubocop to fail even with caching disabled. ([<a href="https://github.com/protocol7"><code>@protocol7</code></a>][])</li> </ul> <h3>Changes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13050">#13050</a>: Allow <code>get_!</code>, <code>set_!</code>, <code>get_?</code>, <code>set_?</code>, <code>get_=</code>, and <code>set_=</code> in <code>Naming/AccessorMethodName</code>. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13103">#13103</a>: Make <code>Lint/UselessAssignment</code> autocorrection safe. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13099">#13099</a>: Make <code>Style/RedundantRegexpArgument</code> respect the <code>EnforcedStyle</code> of <code>Style/StringLiterals</code>. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13165">#13165</a>: Remove dependency on the <code>rexml</code> gem. ([<a href="https://github.com/bquorning"><code>@bquorning</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13090">#13090</a>: Require RuboCop AST 1.32.0+ to use <code>RuboCop::AST::RationalNode</code>. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md">rubocop's changelog</a>.</em></p> <blockquote> <h2>1.66.0 (2024-08-31)</h2> <h3>New features</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13077">#13077</a>: Add new global <code>StringLiteralsFrozenByDefault</code> option for correct analysis with <code>RUBYOPT=--enable=frozen-string-literal</code>. ([<a href="https://github.com/earlopain"><code>@earlopain</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13080">#13080</a>: Add new <code>DocumentationExtension</code> global option to serve documentation with extensions different than <code>.html</code>. ([<a href="https://github.com/earlopain"><code>@earlopain</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13074">#13074</a>: Add new <code>Lint/UselessNumericOperation</code> cop to check for inconsequential numeric operations. ([<a href="https://github.com/zopolis4"><code>@zopolis4</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13061">#13061</a>: Add new <code>Style/RedundantInterpolationUnfreeze</code> cop to check for <code>dup</code> and <code>@+</code> on interpolated strings in Ruby >= 3.0. ([<a href="https://github.com/earlopain"><code>@earlopain</code></a>][])</li> </ul> <h3>Bug fixes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13093">#13093</a>: Fix an error for <code>Lint/ImplicitStringConcatenation</code> when implicitly concatenating a string literal with a line break and string interpolation. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13098">#13098</a>: Fix an error for <code>Style/IdenticalConditionalBranches</code> when handling empty case branches. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13113">#13113</a>: Fix an error for <code>Style/IfWithSemicolon</code> when a nested <code>if</code> with a semicolon is used. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13097">#13097</a>: Fix an error for <code>Style/InPatternThen</code> when using alternative pattern matching deeply. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13159">#13159</a>: Fix an error for <code>Style/OneLineConditional</code> when using if/then/else/end with multiple expressions in the <code>then</code> body. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13092">#13092</a>: Fix an incorrect autocorrect for <code>Layout/EmptyLineBetweenDefs</code> when two method definitions are on the same line separated by a semicolon. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13116">#13116</a>: Fix an incorrect autocorrect for <code>Style/IfWithSemicolon</code> when a single-line <code>if/;/end</code> has an argument in the then body expression. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13161">#13161</a>: Fix incorrect autocorrect for <code>Style/IfWithSemicolon</code> when using multiple expressions in the <code>else</code> body. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13132">#13132</a>: Fix incorrect autocorrect for <code>Style/TrailingBodyOnMethodDefinition</code> when an expression precedes a method definition on the same line with a semicolon. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13164">#13164</a>: Fix incorrect autocorrect behavior for <code>Layout/BlockAlignment</code> when <code>EnforcedStyleAlignWith: either (default)</code>. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13087">#13087</a>: Fix an incorrect autocorrect for <code>Style/MultipleComparison</code> when expression with more comparisons precedes an expression with less comparisons. ([<a href="https://github.com/fatkodima"><code>@fatkodima</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13172">#13172</a>: Fix an error for <code>Layout/EmptyLinesAroundExceptionHandlingKeywords</code> when <code>ensure</code> or <code>else</code> and <code>end</code> are on the same line. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13107">#13107</a>: Fix an error for <code>Lint/ImplicitStringConcatenation</code> when there are multiple adjacent string interpolation literals on the same line. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13111">#13111</a>: Fix an error for <code>Style/GuardClause</code> when if clause is empty and correction would not fit on single line because of <code>Layout/LineLength</code>. ([<a href="https://github.com/earlopain"><code>@earlopain</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13137">#13137</a>: Fix an error for <code>Style/ParallelAssignment</code> when using <code>__FILE__</code>. ([<a href="https://github.com/earlopain"><code>@earlopain</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13143">#13143</a>: Fix an error during <code>TargetRubyVersion</code> detection if the gemspec is not valid syntax. ([<a href="https://github.com/earlopain"><code>@earlopain</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13131">#13131</a>: Fix false negatives for <code>Lint/Void</code> when using <code>ensure</code>, <code>defs</code> and <code>numblock</code>. ([<a href="https://github.com/vlad-pisanov"><code>@vlad-pisanov</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13174">#13174</a>: Fix false negatives for <code>Style/MapIntoArray</code> when initializing the destination using <code>Array[]</code>, <code>Array([])</code>, or <code>Array.new([])</code>. ([<a href="https://github.com/vlad-pisanov"><code>@vlad-pisanov</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13173">#13173</a>: Fix false negatives for <code>Style/EmptyLiteral</code> when using <code>Array[]</code>, <code>Hash[]</code>, <code>Array.new([])</code> and <code>Hash.new([])</code>. ([<a href="https://github.com/vlad-pisanov"><code>@vlad-pisanov</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13126">#13126</a>: Fix a false positive for <code>Style/Alias</code> when using multiple <code>alias</code> in <code>def</code>. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13085">#13085</a>: Fix a false positive for <code>Style/EmptyElse</code> when a comment-only <code>else</code> is used after <code>elsif</code> and <code>AllowComments: true</code> is set. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13118">#13118</a>: Fix a false positive for <code>Style/MapIntoArray</code> when splatting. ([<a href="https://github.com/earlopain"><code>@earlopain</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13105">#13105</a>: Fix false positives for <code>Style/ArgumentsForwarding</code> when forwarding kwargs/block arg with non-matching additional args. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13139">#13139</a>: Fix false positives for <code>Style/RedundantCondition</code> when using modifier <code>if</code> or <code>unless</code>. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13134">#13134</a>: Fix false negative for <code>Lint/Void</code> when using using frozen literals. ([<a href="https://github.com/vlad-pisanov"><code>@vlad-pisanov</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13148">#13148</a>: Fix incorrect autocorrect for <code>Lint/EmptyConditionalBody</code> when missing <code>elsif</code> body with <code>end</code> on the same line. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13109">#13109</a>: Fix an error for the <code>Lockfile</code> parser when it contains incompatible <code>BUNDLED WITH</code> versions. ([<a href="https://github.com/earlopain"><code>@earlopain</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13112">#13112</a>: Fix detection of <code>TargetRubyVersion</code> through the gemfile if the gemfile ruby version is below 2.7. ([<a href="https://github.com/earlopain"><code>@earlopain</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13155">#13155</a>: Fixes an error when the server cache directory has too long path, causing rubocop to fail even with caching disabled. ([<a href="https://github.com/protocol7"><code>@protocol7</code></a>][])</li> </ul> <h3>Changes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13050">#13050</a>: Allow <code>get_!</code>, <code>set_!</code>, <code>get_?</code>, <code>set_?</code>, <code>get_=</code>, and <code>set_=</code> in <code>Naming/AccessorMethodName</code>. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13103">#13103</a>: Make <code>Lint/UselessAssignment</code> autocorrection safe. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13099">#13099</a>: Make <code>Style/RedundantRegexpArgument</code> respect the <code>EnforcedStyle</code> of <code>Style/StringLiterals</code>. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13165">#13165</a>: Remove dependency on the <code>rexml</code> gem. ([<a href="https://github.com/bquorning"><code>@bquorning</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13090">#13090</a>: Require RuboCop AST 1.32.0+ to use <code>RuboCop::AST::RationalNode</code>. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rubocop/rubocop/commit/c8edd7d62955318216df6b9163814c45a0464fd5"><code>c8edd7d</code></a> Cut 1.66</li> <li><a href="https://github.com/rubocop/rubocop/commit/9c106a5ffebfe759aa275834051dededd12f34d4"><code>9c106a5</code></a> Update Changelog</li> <li><a href="https://github.com/rubocop/rubocop/commit/1e4b4c8e169eecd788d95c99d138283c1040dda7"><code>1e4b4c8</code></a> Add new <code>Lint/UselessNumericOperation</code> cop</li> <li><a href="https://github.com/rubocop/rubocop/commit/d6b05cdf31c75b522ce1096e839954e7477b4a60"><code>d6b05cd</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop/issues/13150">#13150</a>] Don't consider <code>get_!</code>, <code>set_!</code>, <code>get_?</code>, <code>set_?</code>, <code>get_=</code>, and ...</li> <li><a href="https://github.com/rubocop/rubocop/commit/9e1e493ffea715236687d80f183835b9d602e1eb"><code>9e1e493</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop/issues/13061">#13061</a>] Add new <code>Style/RedundantInterpolationUnfreeze</code> cop</li> <li><a href="https://github.com/rubocop/rubocop/commit/04310238379c6625ad5fcb0fdc6b74e5ccaeba2c"><code>0431023</code></a> Fix false negatives for <code>Style/EmptyLiteral</code> when using <code>Array[]</code>, <code>Hash[]</code>, ...</li> <li><a href="https://github.com/rubocop/rubocop/commit/a2ef5b43490514b0fddae3467cf74c4e6764ec85"><code>a2ef5b4</code></a> Fix false negatives for <code>Style/MapIntoArray</code> when initializing the destinatio...</li> <li><a href="https://github.com/rubocop/rubocop/commit/2382ecbb9b0ad13d0b09046d33f565cfe942ee96"><code>2382ecb</code></a> Fix false negative for <code>Lint/Void</code> when using using frozen literals</li> <li><a href="https://github.com/rubocop/rubocop/commit/be6e6562558eee6d42989f2c4ea856b3e282d43b"><code>be6e656</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop/issues/13172">#13172</a> from koic/fix_error_for_layout_empty_lines_around_e...</li> <li><a href="https://github.com/rubocop/rubocop/commit/d8e0c87df844a788f4806b3dfe5bfa66ff0e3516"><code>d8e0c87</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop/issues/13175">#13175</a> from Earlopain/no-forwardable</li> <li>Additional commits viewable in <a href="https://github.com/rubocop/rubocop/compare/v1.65.1...v1.66.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rubocop&package-manager=bundler&previous-version=1.65.1&new-version=1.66.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information