Commit a4abb8a
Update rubocop requirement from ~> 1.73.2 to ~> 1.84.1 (#178)
Updates the requirements on
[rubocop](https://github.com/rubocop/rubocop) to permit the latest
version.
<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 v1.84.1</h2>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14803">#14803</a>:
Fix an error for <code>Layout/IndentationWidth</code> cop. (<a
href="https://github.com/viralpraxis"><code>@viralpraxis</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14806">#14806</a>:
Fix an error in <code>Style/NegativeArrayIndex</code> when using
<code>self</code> as array with implicit <code>self</code> receiver. (<a
href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14813">#14813</a>:
Fix opt-in cop comments taking precedence over configuration file
exclude patterns. (<a
href="https://github.com/afrase"><code>@afrase</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14819">#14819</a>:
Fix incorrect autocorrect for <code>Style/GuardClause</code> when using
heredoc as an argument of method call in raise in <code>else</code>
branch. (<a href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14805">#14805</a>:
Bring back the original indentation from before version 1.84.0. (<a
href="https://github.com/Magikdidi24"><code>@Magikdidi24</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/12754">#12754</a>:
Fix an infinite loop for <code>Style/IfUnlessModifier</code> when
multiple <code>if</code>/<code>unless</code> statements share the same
line in arrays, method arguments, or hash values. (<a
href="https://github.com/ydakuka"><code>@ydakuka</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14817">#14817</a>:
Fix an infinite loop between
<code>Layout/FirstArgumentIndentation</code> and
<code>Layout/LineLength</code> when correcting method chains. (<a
href="https://github.com/ydakuka"><code>@ydakuka</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/11513">#11513</a>:
Fix <code>Layout/MultilineMethodCallIndentation</code> to properly
handle method chains inside hash pair values. (<a
href="https://github.com/ydakuka"><code>@ydakuka</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14814">#14814</a>:
Fix push/pop directives to properly handle nested scopes and state
restoration. (<a
href="https://github.com/Magikdidi24"><code>@Magikdidi24</code></a>)</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14823">#14823</a>:
Add the built-in <code>infinite?</code> method to the allowlists for
<code>Naming/PredicateMethod</code>,
<code>Style/IfWithBooleanLiteralBranches</code>, and
<code>Style/RedundantCondition</code>, in addition to the existing
<code>nonzero?</code>. (<a
href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14735">#14735</a>:
Remove deprecated InjectDefaults handling. (<a
href="https://github.com/afurm"><code>@afurm</code></a>)</li>
</ul>
</blockquote>
</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.84.1 (2026-02-02)</h2>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14803">#14803</a>:
Fix an error for <code>Layout/IndentationWidth</code> cop. ([<a
href="https://github.com/viralpraxis"><code>@viralpraxis</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14806">#14806</a>:
Fix an error in <code>Style/NegativeArrayIndex</code> when using
<code>self</code> as array with implicit <code>self</code> receiver.
([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14813">#14813</a>:
Fix opt-in cop comments taking precedence over configuration file
exclude patterns. ([<a
href="https://github.com/afrase"><code>@afrase</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14819">#14819</a>:
Fix incorrect autocorrect for <code>Style/GuardClause</code> when using
heredoc as an argument of method call in raise in <code>else</code>
branch. ([<a
href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14805">#14805</a>:
Bring back the original indentation from before version 1.84.0. ([<a
href="https://github.com/Magikdidi24"><code>@Magikdidi24</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/12754">#12754</a>:
Fix an infinite loop for <code>Style/IfUnlessModifier</code> when
multiple <code>if</code>/<code>unless</code> statements share the same
line in arrays, method arguments, or hash values. ([<a
href="https://github.com/ydakuka"><code>@ydakuka</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14817">#14817</a>:
Fix an infinite loop between
<code>Layout/FirstArgumentIndentation</code> and
<code>Layout/LineLength</code> when correcting method chains. ([<a
href="https://github.com/ydakuka"><code>@ydakuka</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/11513">#11513</a>:
Fix <code>Layout/MultilineMethodCallIndentation</code> to properly
handle method chains inside hash pair values. ([<a
href="https://github.com/ydakuka"><code>@ydakuka</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14814">#14814</a>:
Fix push/pop directives to properly handle nested scopes and state
restoration. ([<a
href="https://github.com/Magikdidi24"><code>@Magikdidi24</code></a>][])</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14823">#14823</a>:
Add the built-in <code>infinite?</code> method to the allowlists for
<code>Naming/PredicateMethod</code>,
<code>Style/IfWithBooleanLiteralBranches</code>, and
<code>Style/RedundantCondition</code>, in addition to the existing
<code>nonzero?</code>. ([<a
href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14735">#14735</a>:
Remove deprecated InjectDefaults handling. ([<a
href="https://github.com/afurm"><code>@afurm</code></a>][])</li>
</ul>
<h2>1.84.0 (2026-01-27)</h2>
<h3>New features</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14516">#14516</a>:
Add <code>AllowImplicitArrayLiterals</code> to
<code>Layout/FirstArrayElementLineBreak</code>. ([<a
href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14750">#14750</a>:
Add new <code>Style/ReverseFind</code> cop. ([<a
href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/12343">#12343</a>:
Add new <code>Style/EmptyClassDefinition</code> cop to enforce
consistent style for empty class definitions. The cop can enforce either
a two-line class definition or <code>Class.new</code> for classes with
no body. ([<a
href="https://github.com/ydakuka"><code>@ydakuka</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14769">#14769</a>:
Add new <code>Style/HashLookupMethod</code> cop to enforce
<code>Hash#[]</code> vs <code>Hash#fetch</code> preference. ([<a
href="https://github.com/sferik"><code>@sferik</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/12051">#12051</a>:
Add new <code>Style/NegativeArrayIndex</code> cop to enforce using
negative array indices instead of calculating array length minus a
value. The cop handles both simple index patterns and range patterns,
and recognizes preserving methods and their combinations. ([<a
href="https://github.com/ydakuka"><code>@ydakuka</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14633">#14633</a>:
Make a new system to handle push and pop locally. ([<a
href="https://github.com/Magikdidi24"><code>@Magikdidi24</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14722">#14722</a>:
Support <code>TargetRubyVersion 4.1</code> (experimental). ([<a
href="https://github.com/koic"><code>@koic</code></a>][])</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14697">#14697</a>:
Allow non-method calls in <code>Categories</code> for
<code>Layout/ClassStructure</code>. ([<a
href="https://github.com/fatkodima"><code>@fatkodima</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14784">#14784</a>:
Fix an error for <code>Style/GuardClause</code> when using heredoc as an
argument of raise in <code>else</code> branch and <code>if</code> branch
is empty. ([<a
href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14790">#14790</a>:
Fix an error for <code>Style/HashLookupMethod</code> cop when there's no
receiver. ([<a
href="https://github.com/viralpraxis"><code>@viralpraxis</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14779">#14779</a>:
Fix autocorrect crash with <code>ruby_extractor</code> when using
<code>offset: 0</code> and different source buffers. ([<a
href="https://github.com/ydakuka"><code>@ydakuka</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14762">#14762</a>:
Fix false negatives for <code>Style/RedundantCondition</code> when the
branches contains constant assignment. ([<a
href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14751">#14751</a>:
Fix <code>--force-default-config</code> not preventing project config
loading when used with options that access configuration. ([<a
href="https://github.com/sakuro"><code>@sakuro</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14783">#14783</a>:
Fix incorrect autocorrect for <code>Style/HashSyntax</code> when
shorthand syntax is used in condition of
<code>if</code>/<code>unless</code>/<code>while</code>/<code>until</code>.
([<a
href="https://github.com/ydakuka"><code>@ydakuka</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14747">#14747</a>:
Fix a regression in<code>Layout/IndentationWidth</code> by adding a new
<code>EnforcedStyleAlignWith</code> style parameter. ([<a
href="https://github.com/MikeMcQuaid"><code>@MikeMcQuaid</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14716">#14716</a>:
Fix an infinite loop error for <code>Layout/LineLength</code> when
<code>SplitStrings</code> option is enabled and strings span multiple
lines. ([<a
href="https://github.com/HariprasanthMSH"><code>@HariprasanthMSH</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14763">#14763</a>:
Fix an infinite loop error for <code>Layout/IndentationWidth</code> and
<code>Layout/IndentationConsistency</code> when using
<code>EnforcedStyle: indented_internal_methods</code> with method chain
blocks. ([<a
href="https://github.com/ydakuka"><code>@ydakuka</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/9373">#9373</a>:
Fix an infinite loop error for <code>Layout/IndentationWidth</code> when
autocorrecting mixed tabs and spaces in blocks. Fix an infinite loop
error for <code>Layout/DefEndAlignment</code> and
<code>Layout/IndentationStyle</code> when autocorrecting mixed tabs and
spaces. Autocorrection for tabs is disabled in
<code>AlignmentCorrector</code> for indentation offenses, but enabled
for <code>align_end</code>. ([<a
href="https://github.com/ydakuka"><code>@ydakuka</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/12295">#12295</a>:
Fix <code>Layout/FirstArgumentIndentation</code> to correct entire
method calls and chains for nested calls. ([<a
href="https://github.com/ydakuka"><code>@ydakuka</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/12527">#12527</a>:
Fix <code>Offense#highlighted_area</code> to return a valid
<code>Parser::Source::Range</code>. ([<a
href="https://github.com/ydakuka"><code>@ydakuka</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14801">#14801</a>:
Preserve source tabs in Clang and Tap formatters when displaying offense
highlight. ([<a
href="https://github.com/lovro-bikic"><code>@lovro-bikic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14761">#14761</a>:
Improved the remote configuration file name on the cache location. ([<a
href="https://github.com/Jack12816"><code>@Jack12816</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14778">#14778</a>:
Fix a false positive for <code>Security/JSONLoad</code> when
<code>create_additions</code> option is passed with other options in a
hash. ([<a
href="https://github.com/wktk"><code>@wktk</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14796">#14796</a>:
Handle logical and operator assignment nodes in variable branch
handling. ([<a
href="https://github.com/lovro-bikic"><code>@lovro-bikic</code></a>][])</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rubocop/rubocop/commit/5a774b3e211d21aa2d5a8e33d85b7e2e4b16cf1e"><code>5a774b3</code></a>
Cut 1.84.1</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/88d04caa11e36088e25173d81e7ca7711fbf6e0a"><code>88d04ca</code></a>
Update Changelog</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/c4f9c2280404a91f06eadbef44ff12a13ed9cdaf"><code>c4f9c22</code></a>
Disallow directory paths in inject_defaults!</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/7e43e4eb7602d07edfbb804ad6a85f94cc6e9454"><code>7e43e4e</code></a>
Fix LSP disable comment edits for multiline literals (<a
href="https://redirect.github.com/rubocop/rubocop/issues/14758">#14758</a>)</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/15f751d3cbd2696cf1413223f25268635b7086f4"><code>15f751d</code></a>
[Fix rubocop#11513] Fix
<code>Layout/MultilineMethodCallIndentation</code> to properly h...</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/29f5607f07f85f72d55c8f15b4f07894a7278298"><code>29f5607</code></a>
[Fix rubocop#12754] Fix an infinite loop for
<code>Style/IfUnlessModifier</code> when mu...</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/4ae10a707bca02603716a5c2456e28349024e095"><code>4ae10a7</code></a>
[Fix rubocop#14817] Fix an infinite loop between
`Layout/FirstArgumentIndenta...</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/aa6821cb7132a37e11887af0f4161bbc01001002"><code>aa6821c</code></a>
Merge pull request <a
href="https://redirect.github.com/rubocop/rubocop/issues/14813">#14813</a>
from afrase/fix-exclude-pattern-precedence</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/558161c4e0b7d4fd6fb7665d771f6b93e00f054a"><code>558161c</code></a>
Allowlist <code>infinite?</code> for some cops</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/3435c9552a3224298baac737671990fe787ae30e"><code>3435c95</code></a>
Changed cop exclusion precedence to favor configuration</li>
<li>Additional commits viewable in <a
href="https://github.com/rubocop/rubocop/compare/v1.73.2...v1.84.1">compare
view</a></li>
</ul>
</details>
<br />
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 this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marc Qualie <101022+marcqualie@users.noreply.github.com>1 parent 5b913d9 commit a4abb8a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
0 commit comments