[openstreetmap/openstreetmap-website] Bump rubocop from 1.89.0 to 1.90.0 in the rubocop group (PR #7355)

dependabot[bot] notifications at github.com
Wed Sep 2 23:13:16 UTC 2026


Bumps the rubocop group with 1 update: [rubocop](https://github.com/rubocop/rubocop).

Updates `rubocop` from 1.89.0 to 1.90.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 v1.90.0</h2>
<h3>New features</h3>
<ul>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/15073">#15073</a>: Add <code>AllowTrailingComment</code> option to <code>Style/DisableCopsWithinSourceCodeDirective</code>. ([<a href="https://github.com/bbatsov"><code>@​bbatsov</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/9505">#9505</a>: Add <code>disable-next</code> directives scoped to the following statement. ([<a href="https://github.com/bbatsov"><code>@​bbatsov</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/15550">#15550</a>: Add <code>--display-suppressed</code> option to also report offenses suppressed by directive comments, including their <code>--</code> justification in the JSON formatter. ([<a href="https://github.com/bbatsov"><code>@​bbatsov</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/15523">#15523</a>: Add new <code>Lint/ArgumentMismatch</code> cop. ([<a href="https://github.com/bbatsov"><code>@​bbatsov</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/15594">#15594</a>: Add new <code>Lint/SuperArgumentMismatch</code> cop. ([<a href="https://github.com/bbatsov"><code>@​bbatsov</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/15581">#15581</a>: Add new <code>Style/TimeNow</code> cop. ([<a href="https://github.com/Starlexxx"><code>@​Starlexxx</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/15111">#15111</a>: Add <code>NumberOfEmptyLines</code> option to <code>Layout/EmptyLineAfterMagicComment</code> to configure the minimum number of empty lines required after magic comments. ([<a href="https://github.com/alejofraga"><code>@​alejofraga</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/13037">#13037</a>: Add <code>--report-unused-todo-entries</code> to catch rotting todo files. ([<a href="https://github.com/bbatsov"><code>@​bbatsov</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/15559">#15559</a>: Add new <code>Style/DirectiveScope</code> cop to flag <code>disable</code>/<code>enable</code> pairs and disable-only <code>push</code>/<code>pop</code> scopes that wrap a single statement and can use <code>disable-next</code> instead. ([<a href="https://github.com/bbatsov"><code>@​bbatsov</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/15547">#15547</a>: Make <code>Lint/RedundantCopEnableDirective</code> flag <code># rubocop:pop</code> directives without a matching <code># rubocop:push</code>. ([<a href="https://github.com/bbatsov"><code>@​bbatsov</code></a>][])</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/15584">#15584</a>: Fix a crash in <code>Lint/NameTypo</code> and <code>Lint/UnusedPrivateMethod</code> on string literals with invalid encoding. ([<a href="https://github.com/bbatsov"><code>@​bbatsov</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/15541">#15541</a>: Fix a false negative for <code>Lint/OutOfRangeRegexpRef</code> when a preceding element access with a non-string literal argument (e.g. <code>hash[:key]</code>) discarded the tracked capture count. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/7958">#7958</a>: Add todo comments for skipped unsafe corrections with <code>--disable-uncorrectable</code>. ([<a href="https://github.com/bbatsov"><code>@​bbatsov</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/15569">#15569</a>: Fix an error for the built-in language server when a <code>workspace/executeCommand</code> request has no document URI in its arguments. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/15410">#15410</a>: Fix an incorrect autocorrect for <code>Naming/BinaryOperatorParameterName</code>. ([<a href="https://github.com/bbatsov"><code>@​bbatsov</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/15576">#15576</a>: Fix an incorrect autocorrect for <code>Style/Sample</code> when <code>shuffle</code> is given a <code>random:</code> argument; the offense is still reported but no longer autocorrected, since <code>shuffle</code> and <code>sample</code> consume a seeded generator differently and would select different elements. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/15590">#15590</a>: Fix an infinite loop error for <code>Layout/FirstArgumentIndentation</code> when <code>EnforcedStyle: with_fixed_indentation</code> is specified for <code>Layout/ArgumentAlignment</code> and <code>Layout/FirstMethodArgumentLineBreak</code> is enabled with <code>AllowMultilineFinalElement: true</code>. ([<a href="https://github.com/Starlexxx"><code>@​Starlexxx</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/15588">#15588</a>: Fix <code>RuboCop::Cop::IgnoredMethods</code> and <code>RuboCop::Cop::IgnoredPattern</code> being unreachable after <code>require 'rubocop'</code>. ([<a href="https://github.com/SeanLF"><code>@​SeanLF</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/8349">#8349</a>: Don't autocorrect away directives for unknown cops. ([<a href="https://github.com/bbatsov"><code>@​bbatsov</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/7894">#7894</a>: Don't flag disables of pending cops as redundant. ([<a href="https://github.com/bbatsov"><code>@​bbatsov</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/9963">#9963</a>: Fix false negatives for <code>Layout/ExtraSpacing</code>. ([<a href="https://github.com/Starlexxx"><code>@​Starlexxx</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/15525">#15525</a>: Fix false negatives in <code>Layout/LineLength</code> when a constant path like <code>Http::UploadedFile</code> matches <code>URISchemes</code> case-insensitively. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/13941">#13941</a>: Fix false positives for <code>Lint/UselessConstantScoping</code> when assigning with <code>Class.new</code>, <code>Module.new</code>, <code>Struct.new</code>, or <code>Data.define</code> after <code>private</code>. ([<a href="https://github.com/pdobb"><code>@​pdobb</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/15526">#15526</a>: Fix false positives in <code>Layout/MultilineMethodCallIndentation</code> when a line has multiple single-line blocks before a multiline block. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/15538">#15538</a>: Fix false positives in <code>Lint/ConstantReassignment</code> when a constant is assigned in compact-style namespaces (e.g. <code>module A::B</code>). ([<a href="https://github.com/alex-tan"><code>@​alex-tan</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/15517">#15517</a>: Fix false positives in <code>Lint/RedundantSafeNavigation</code> when <code>InferNonNilReceiver</code> is enabled and the receiver name is rebound by a nested block (<code>it</code> or a shadowed block parameter). ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/15572">#15572</a>: Fix <code>RuboCop::Cop::Registry#freeze</code> to freeze its internal collections, so that registering a lazily loaded cop after the freeze fails fast at the registration site instead of corrupting the registry. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/15585">#15585</a>: Make <code>Lint/DuplicateMethods</code> honor <code>silence_redefinition_of_method</code> and <code>redefine_method</code> as intentional redefinitions. ([<a href="https://github.com/bbatsov"><code>@​bbatsov</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/15558">#15558</a>: Fix <code>--display-suppressed</code> reporting a <code>nil</code> <code>justification</code> when the offense is loaded from the result cache. ([<a href="https://github.com/corsonknowles"><code>@​corsonknowles</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/10449">#10449</a>: Fix <code>Layout/ClassStructure</code> autocorrection producing a wrong order when an element cannot be moved, and make offenses report the category that actually blocks the expected order. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/15568">#15568</a>: Fix <code>Lint/NameTypo</code> registering false positives for names provided by a gem whose namespace the project reopens, and for constants read from a namespace with an unresolved ancestor. ([<a href="https://github.com/HoneyryderChuck"><code>@​HoneyryderChuck</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/15556">#15556</a>: Fix <code>Lint/UnusedPrivateMethod</code> retaining every past <code>project_index</code> object it has seen (and the index graph reachable from each), rather than only the most recent one. This caused unbounded memory growth in long-lived processes such as <code>rubocop --server</code>. ([<a href="https://github.com/bquorning"><code>@​bquorning</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/10046">#10046</a>: Fix <code>Lint/UselessMethodDefinition</code> false positive for methods with <code>**kwargs</code>. ([<a href="https://github.com/bbatsov"><code>@​bbatsov</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/15589">#15589</a>: Fix <code>--lsp</code> and <code>--mcp</code> being silently ignored when the RuboCop server is running: they now start the protocol server in the current process instead of being forwarded to the server as a lint request. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/11148">#11148</a>: Merge department and cop-level <code>Exclude</code> settings. ([<a href="https://github.com/bbatsov"><code>@​bbatsov</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/15531">#15531</a>: Fix a regression in RuboCop 1.89 where the modifier cops could produce lines longer than <code>Layout/LineLength</code> <code>Max</code> when exemptions like <code>AllowedPatterns</code> matched the result. ([<a href="https://github.com/bbatsov"><code>@​bbatsov</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/15574">#15574</a>: Fix an incorrect warning such as <code>AllCops does not support TargetRailsVersion parameter</code> when a plugin declares a custom <code>AllCops</code> key with a nil value and another plugin is loaded after it. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/9543">#9543</a>: Preserve escape notation in <code>Style/StringConcatenation</code> autocorrect. ([<a href="https://github.com/bbatsov"><code>@​bbatsov</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/11119">#11119</a>: Preserve persistent cop instances across files. ([<a href="https://github.com/Eljees"><code>@​Eljees</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/13022">#13022</a>: Fix <code>rubocop .</code> (and other relative directory arguments) needlessly traversing directories excluded by the configuration, which made it much slower than <code>rubocop</code> in projects with large ignored trees. ([<a href="https://github.com/bbatsov"><code>@​bbatsov</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/15561">#15561</a>: Fix <code>Lint/RedundantCopDisableDirective</code> and <code>Lint/RedundantCopEnableDirective</code> leaving a directive's <code>--</code> reason behind when removing the directive. ([<a href="https://github.com/corsonknowles"><code>@​corsonknowles</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/15593">#15593</a>: Fix false positives for <code>Lint/UnusedPrivateMethod</code> for private definitions of Ruby runtime hooks like <code>inherited</code> and <code>const_missing</code>. ([<a href="https://github.com/bbatsov"><code>@​bbatsov</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/15547">#15547</a>: Make <code>Lint/MissingCopEnableDirective</code> suggest <code># rubocop:pop</code> instead of <code># rubocop:enable</code> for an unclosed <code># rubocop:push</code>. ([<a href="https://github.com/bbatsov"><code>@​bbatsov</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/14379">#14379</a>: Suppress multi-line offenses with a directive on any of their lines. ([<a href="https://github.com/bbatsov"><code>@​bbatsov</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.90.0 (2026-08-24)</h2>
<h3>New features</h3>
<ul>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/15073">#15073</a>: Add <code>AllowTrailingComment</code> option to <code>Style/DisableCopsWithinSourceCodeDirective</code>. ([<a href="https://github.com/bbatsov"><code>@​bbatsov</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/9505">#9505</a>: Add <code>disable-next</code> directives scoped to the following statement. ([<a href="https://github.com/bbatsov"><code>@​bbatsov</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/15550">#15550</a>: Add <code>--display-suppressed</code> option to also report offenses suppressed by directive comments, including their <code>--</code> justification in the JSON formatter. ([<a href="https://github.com/bbatsov"><code>@​bbatsov</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/15523">#15523</a>: Add new <code>Lint/ArgumentMismatch</code> cop. ([<a href="https://github.com/bbatsov"><code>@​bbatsov</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/15594">#15594</a>: Add new <code>Lint/SuperArgumentMismatch</code> cop. ([<a href="https://github.com/bbatsov"><code>@​bbatsov</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/15581">#15581</a>: Add new <code>Style/TimeNow</code> cop. ([<a href="https://github.com/Starlexxx"><code>@​Starlexxx</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/15111">#15111</a>: Add <code>NumberOfEmptyLines</code> option to <code>Layout/EmptyLineAfterMagicComment</code> to configure the minimum number of empty lines required after magic comments. ([<a href="https://github.com/alejofraga"><code>@​alejofraga</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/13037">#13037</a>: Add <code>--report-unused-todo-entries</code> to catch rotting todo files. ([<a href="https://github.com/bbatsov"><code>@​bbatsov</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/15559">#15559</a>: Add new <code>Style/DirectiveScope</code> cop to flag <code>disable</code>/<code>enable</code> pairs and disable-only <code>push</code>/<code>pop</code> scopes that wrap a single statement and can use <code>disable-next</code> instead. ([<a href="https://github.com/bbatsov"><code>@​bbatsov</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/15547">#15547</a>: Make <code>Lint/RedundantCopEnableDirective</code> flag <code># rubocop:pop</code> directives without a matching <code># rubocop:push</code>. ([<a href="https://github.com/bbatsov"><code>@​bbatsov</code></a>][])</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/15584">#15584</a>: Fix a crash in <code>Lint/NameTypo</code> and <code>Lint/UnusedPrivateMethod</code> on string literals with invalid encoding. ([<a href="https://github.com/bbatsov"><code>@​bbatsov</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/15541">#15541</a>: Fix a false negative for <code>Lint/OutOfRangeRegexpRef</code> when a preceding element access with a non-string literal argument (e.g. <code>hash[:key]</code>) discarded the tracked capture count. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/7958">#7958</a>: Add todo comments for skipped unsafe corrections with <code>--disable-uncorrectable</code>. ([<a href="https://github.com/bbatsov"><code>@​bbatsov</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/15569">#15569</a>: Fix an error for the built-in language server when a <code>workspace/executeCommand</code> request has no document URI in its arguments. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/15410">#15410</a>: Fix an incorrect autocorrect for <code>Naming/BinaryOperatorParameterName</code>. ([<a href="https://github.com/bbatsov"><code>@​bbatsov</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/15576">#15576</a>: Fix an incorrect autocorrect for <code>Style/Sample</code> when <code>shuffle</code> is given a <code>random:</code> argument; the offense is still reported but no longer autocorrected, since <code>shuffle</code> and <code>sample</code> consume a seeded generator differently and would select different elements. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/15590">#15590</a>: Fix an infinite loop error for <code>Layout/FirstArgumentIndentation</code> when <code>EnforcedStyle: with_fixed_indentation</code> is specified for <code>Layout/ArgumentAlignment</code> and <code>Layout/FirstMethodArgumentLineBreak</code> is enabled with <code>AllowMultilineFinalElement: true</code>. ([<a href="https://github.com/Starlexxx"><code>@​Starlexxx</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/15588">#15588</a>: Fix <code>RuboCop::Cop::IgnoredMethods</code> and <code>RuboCop::Cop::IgnoredPattern</code> being unreachable after <code>require 'rubocop'</code>. ([<a href="https://github.com/SeanLF"><code>@​SeanLF</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/8349">#8349</a>: Don't autocorrect away directives for unknown cops. ([<a href="https://github.com/bbatsov"><code>@​bbatsov</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/7894">#7894</a>: Don't flag disables of pending cops as redundant. ([<a href="https://github.com/bbatsov"><code>@​bbatsov</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/9963">#9963</a>: Fix false negatives for <code>Layout/ExtraSpacing</code>. ([<a href="https://github.com/Starlexxx"><code>@​Starlexxx</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/15525">#15525</a>: Fix false negatives in <code>Layout/LineLength</code> when a constant path like <code>Http::UploadedFile</code> matches <code>URISchemes</code> case-insensitively. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/13941">#13941</a>: Fix false positives for <code>Lint/UselessConstantScoping</code> when assigning with <code>Class.new</code>, <code>Module.new</code>, <code>Struct.new</code>, or <code>Data.define</code> after <code>private</code>. ([<a href="https://github.com/pdobb"><code>@​pdobb</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/15526">#15526</a>: Fix false positives in <code>Layout/MultilineMethodCallIndentation</code> when a line has multiple single-line blocks before a multiline block. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/15538">#15538</a>: Fix false positives in <code>Lint/ConstantReassignment</code> when a constant is assigned in compact-style namespaces (e.g. <code>module A::B</code>). ([<a href="https://github.com/alex-tan"><code>@​alex-tan</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/15517">#15517</a>: Fix false positives in <code>Lint/RedundantSafeNavigation</code> when <code>InferNonNilReceiver</code> is enabled and the receiver name is rebound by a nested block (<code>it</code> or a shadowed block parameter). ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/15572">#15572</a>: Fix <code>RuboCop::Cop::Registry#freeze</code> to freeze its internal collections, so that registering a lazily loaded cop after the freeze fails fast at the registration site instead of corrupting the registry. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/15585">#15585</a>: Make <code>Lint/DuplicateMethods</code> honor <code>silence_redefinition_of_method</code> and <code>redefine_method</code> as intentional redefinitions. ([<a href="https://github.com/bbatsov"><code>@​bbatsov</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/15558">#15558</a>: Fix <code>--display-suppressed</code> reporting a <code>nil</code> <code>justification</code> when the offense is loaded from the result cache. ([<a href="https://github.com/corsonknowles"><code>@​corsonknowles</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/10449">#10449</a>: Fix <code>Layout/ClassStructure</code> autocorrection producing a wrong order when an element cannot be moved, and make offenses report the category that actually blocks the expected order. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/15568">#15568</a>: Fix <code>Lint/NameTypo</code> registering false positives for names provided by a gem whose namespace the project reopens, and for constants read from a namespace with an unresolved ancestor. ([<a href="https://github.com/HoneyryderChuck"><code>@​HoneyryderChuck</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/15556">#15556</a>: Fix <code>Lint/UnusedPrivateMethod</code> retaining every past <code>project_index</code> object it has seen (and the index graph reachable from each), rather than only the most recent one. This caused unbounded memory growth in long-lived processes such as <code>rubocop --server</code>. ([<a href="https://github.com/bquorning"><code>@​bquorning</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/10046">#10046</a>: Fix <code>Lint/UselessMethodDefinition</code> false positive for methods with <code>**kwargs</code>. ([<a href="https://github.com/bbatsov"><code>@​bbatsov</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/15589">#15589</a>: Fix <code>--lsp</code> and <code>--mcp</code> being silently ignored when the RuboCop server is running: they now start the protocol server in the current process instead of being forwarded to the server as a lint request. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/11148">#11148</a>: Merge department and cop-level <code>Exclude</code> settings. ([<a href="https://github.com/bbatsov"><code>@​bbatsov</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/15531">#15531</a>: Fix a regression in RuboCop 1.89 where the modifier cops could produce lines longer than <code>Layout/LineLength</code> <code>Max</code> when exemptions like <code>AllowedPatterns</code> matched the result. ([<a href="https://github.com/bbatsov"><code>@​bbatsov</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/15574">#15574</a>: Fix an incorrect warning such as <code>AllCops does not support TargetRailsVersion parameter</code> when a plugin declares a custom <code>AllCops</code> key with a nil value and another plugin is loaded after it. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/9543">#9543</a>: Preserve escape notation in <code>Style/StringConcatenation</code> autocorrect. ([<a href="https://github.com/bbatsov"><code>@​bbatsov</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/11119">#11119</a>: Preserve persistent cop instances across files. ([<a href="https://github.com/Eljees"><code>@​Eljees</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/13022">#13022</a>: Fix <code>rubocop .</code> (and other relative directory arguments) needlessly traversing directories excluded by the configuration, which made it much slower than <code>rubocop</code> in projects with large ignored trees. ([<a href="https://github.com/bbatsov"><code>@​bbatsov</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/15561">#15561</a>: Fix <code>Lint/RedundantCopDisableDirective</code> and <code>Lint/RedundantCopEnableDirective</code> leaving a directive's <code>--</code> reason behind when removing the directive. ([<a href="https://github.com/corsonknowles"><code>@​corsonknowles</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/15593">#15593</a>: Fix false positives for <code>Lint/UnusedPrivateMethod</code> for private definitions of Ruby runtime hooks like <code>inherited</code> and <code>const_missing</code>. ([<a href="https://github.com/bbatsov"><code>@​bbatsov</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/15547">#15547</a>: Make <code>Lint/MissingCopEnableDirective</code> suggest <code># rubocop:pop</code> instead of <code># rubocop:enable</code> for an unclosed <code># rubocop:push</code>. ([<a href="https://github.com/bbatsov"><code>@​bbatsov</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/f1b25e1040416a1c4599273eeb6544679c3d68a0"><code>f1b25e1</code></a> Cut 1.90</li>
<li><a href="https://github.com/rubocop/rubocop/commit/72895f6d1409fb6221377cb0f0f6b1e4818f00ab"><code>72895f6</code></a> Update Changelog</li>
<li><a href="https://github.com/rubocop/rubocop/commit/7042de6350525017c78dd871db7d13d3dd31e94c"><code>7042de6</code></a> Move op_method? before the shadowing helpers</li>
<li><a href="https://github.com/rubocop/rubocop/commit/4b14dd2088a6d0a3a7d7213e044dbf9c9132bd48"><code>4b14dd2</code></a> Fix an incorrect autocorrect for <code>Naming/BinaryOperatorParameterName</code></li>
<li><a href="https://github.com/rubocop/rubocop/commit/5d221acb275bc8481367f7ec0e3745a0f5002a97"><code>5d221ac</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop/issues/10046">#10046</a>] Fix <code>Lint/UselessMethodDefinition</code> false positive for methods wi...</li>
<li><a href="https://github.com/rubocop/rubocop/commit/5070fc3afbe002ef35b5c944f0df86ff6b9bdd44"><code>5070fc3</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop/issues/15111">#15111</a>] Add <code>NumberOfEmptyLines</code> option to `Layout/EmptyLineAfterMagicCo...</li>
<li><a href="https://github.com/rubocop/rubocop/commit/496eb658a511bc288da273ca7df0aedc79ca2e36"><code>496eb65</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop/issues/9543">#9543</a>] Preserve escape notation in <code>Style/StringConcatenation</code> autocorrect</li>
<li><a href="https://github.com/rubocop/rubocop/commit/75b36226a8ec23501319ea434734ede69f8c2952"><code>75b3622</code></a> Remove a directive's <code>--</code> reason along with the directive</li>
<li><a href="https://github.com/rubocop/rubocop/commit/858d8a8a3c8de7bdc603b14c4284b4c750268c0b"><code>858d8a8</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop/issues/15596">#15596</a> from koic/add_real_last_column_to_offense</li>
<li><a href="https://github.com/rubocop/rubocop/commit/15557b052c51c4d8b64e38ac13723a55904aff98"><code>15557b0</code></a> Add <code>Offense#real_last_column</code> and use it in <code>JSONFormatter</code></li>
<li>Additional commits viewable in <a href="https://github.com/rubocop/rubocop/compare/v1.89.0...v1.90.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.89.0&new-version=1.90.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 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>
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/7355

-- Commit Summary --

  * Bump rubocop from 1.89.0 to 1.90.0 in the rubocop group

-- File Changes --

    M Gemfile.lock (4)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/7355.patch
https://github.com/openstreetmap/openstreetmap-website/pull/7355.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/7355
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/7355 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260902/af406978/attachment-0001.htm>


More information about the rails-dev mailing list