Update RuboCop packages - #181
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovate
Bot
force-pushed
the
renovate/rubocop-packages
branch
from
May 30, 2026 13:49
a5d6045 to
9011edf
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #181 +/- ##
=======================================
Coverage 99.93% 99.93%
=======================================
Files 27 27
Lines 1446 1446
=======================================
Hits 1445 1445
Misses 1 1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
renovate
Bot
force-pushed
the
renovate/rubocop-packages
branch
from
June 5, 2026 15:11
9011edf to
37729bb
Compare
renovate
Bot
force-pushed
the
renovate/rubocop-packages
branch
from
June 16, 2026 11:10
37729bb to
5cd8187
Compare
renovate
Bot
force-pushed
the
renovate/rubocop-packages
branch
from
August 4, 2026 13:40
5cd8187 to
0e3fd83
Compare
renovate
Bot
force-pushed
the
renovate/rubocop-packages
branch
from
August 16, 2026 09:55
0e3fd83 to
e34a479
Compare
renovate
Bot
force-pushed
the
renovate/rubocop-packages
branch
from
August 25, 2026 12:13
e34a479 to
d12f2b4
Compare
renovate
Bot
force-pushed
the
renovate/rubocop-packages
branch
from
September 10, 2026 18:45
d12f2b4 to
28a9267
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
'~> 1.85.0'→'~> 1.91.0''~> 1.26.0'→'~> 1.27.0''~> 3.9.0'→'~> 3.10.0'Release Notes
rubocop/rubocop (rubocop)
v1.91.0Compare Source
New features
AllCops: FailLevel, the configuration equivalent of--fail-level. ([@bbatsov][])AllowedDirectivesoption toStyle/DisableCopsWithinSourceCodeDirective, exempting directive kinds such as generatedrubocop:todocomments. ([@bbatsov][])--changedto inspect only the files git says changed. ([@bbatsov][])--diffto preview autocorrection without writing files. ([@bbatsov][])Lint/MisplacedMagicCommentcop to flag magic comments in positions where Ruby ignores them. ([@bbatsov][])rubocop:enable-nextdirective to re-enable cops for the next statement only. ([@bbatsov][])rubocop:nextdirective, combiningpush-style+/-arguments withdisable-next's statement scope. ([@bbatsov][])Previewsection with the defaults it is expected to adopt in the next major release, applied underPreview. ([@bbatsov][])Bug fixes
Style/RedundantRegexpCharacterClasswith\8/\9. ([@bbatsov][])Layout/ElseAlignmentwhenelseis used withrescuein aclass,module, or singleton class body. ([@viralpraxis][])Layout/HashAlignmentwhen a hash value starts on the line below its key. ([@viralpraxis][])Layout/HashAlignmentwhen the first pair of a hash omits its value, and an incorrect autocorrection when a later pair does. ([@viralpraxis][])Layout/IndentationWidthon under-indented code with tab indentation. ([@Starlexxx][])Lint/RedundantCopDisableDirectivewhen a file contains more than onerubocop:push/rubocop:poppair. ([@koic][])Style/AccessModifierDeclarationswhen a body repeats the same access modifier. ([@viralpraxis][])Style/AccessModifierDeclarationswithEnforcedStyle: inlinewhen an access modifier is the body of anifwithout anelsebranch. ([@viralpraxis][])Style/ConstantVisibilitywhen a visibility declaration splats anything other than an array literal, e.g.private_constant(*constants(false)). ([@viralpraxis][])Style/DocumentationMethodwhen an inlinemodule_function/ruby2_keywordsdefis preceded by another argument. ([@viralpraxis][])Style/EndlessMethodwhen a method definition is nested inside another method definition. ([@viralpraxis][])Style/FloatDivisionwhen usingEnforcedStyle: fdivand one operand of a float division is itself a parenthesized float division. ([@viralpraxis][])Style/HashLookupMethodwhen the looked-up key is itself a hash lookup. ([@viralpraxis][])Style/HashSyntaxwhen hash rockets are enforced and a hash value repeats its key. ([@viralpraxis][])Lint/LiteralAsConditionwhen the other operand is a parenthesizedreturn. ([@Starlexxx][])Lint/ParenthesesAsGroupedExpressionwhen the parentheses containand,or,not, or a modifier expression. ([@Starlexxx][])Naming/BlockForwardingwithStyle/MethodDefParentheses. ([@Starlexxx][])Style/EndlessMethodwhen usingEnforcedStyle: require_alwaysand the method body has arescueorensureclause. ([@viralpraxis][])Style/FloatDivisionwhen usingEnforcedStyle: fdivand the divisor is a method call with parenthesized arguments. ([@viralpraxis][])Style/Forwhen usingEnforcedStyle: forand the block body has arescueorensureclause. ([@viralpraxis][])Style/GuardClausewithStyle/MissingElse. ([@Starlexxx][])Style/MethodCallWithArgsParentheseswhenEnforcedStyle: omit_parenthesesis used together withStyle/TrailingCommaInArguments. ([@viralpraxis][])Style/NestedModifier. ([@bbatsov][])Style/NonNilCheck. ([@bbatsov][])Style/Notwith a flip-flop or assignment. ([@bbatsov][])Style/RedundantDoubleSplatHashBraceswith a bracedmergeargument. ([@bbatsov][])Style/RedundantParenthesesaroundand/or. ([@bbatsov][])Style/RedundantRegexpConstructorwith%r{}delimiters. ([@bbatsov][])Layout/ArgumentAlignmentandLayout/HashAlignmentwith separator style. ([@Starlexxx][])Layout/CommentIndentationwhen many comment blocks with the same indentation are separated by empty lines. ([@Starlexxx][])Layout/EmptyLinesAfterModuleInclusionwhen a module inclusion is directly beforerescue. ([@Starlexxx][])Layout/ExtraSpacingwithForceEqualSignAlignmentandLayout/SpaceAroundOperators. ([@Starlexxx][])Layout/FirstArrayElementIndentationwithLayout/ArrayAlignmentwhenEnforcedStyle: with_fixed_indentationis configured. ([@RedZapdos123][])Layout/FirstParameterIndentationwithLayout/ParameterAlignmentwhenEnforcedStyle: with_fixed_indentationis configured. ([@RedZapdos123][])Layout/LineLengthwithSplitStrings: truewhen the split point lands on a trailing space. ([@Starlexxx][])Layout/SpaceAroundOperatorsandLayout/ExtraSpacingwithForceEqualSignAlignment: truefor aligned operator assignments. ([@Starlexxx][])Lint/AssignmentInConditionwhen an assignment is insidedefined?. ([@Starlexxx][])Style/EmptyMethodandStyle/SingleLineMethodswithAllowIfMethodIsEmpty: false. ([@Starlexxx][])Style/EndlessMethodwhen an indented method definition would exceedLayout/LineLengthonce made endless. ([@viralpraxis][])Style/EndlessMethodwhen a method body is a block spread over several lines. ([@viralpraxis][])Style/ParenthesesAroundConditionwithAllowSafeAssignment: falseandLint/AssignmentInCondition. ([@Starlexxx][])Layout/SpaceAroundBlockParametersandLayout/SpaceInsideParenswhen the two cops enforce conflicting styles for a lambda's parameter parentheses. ([@viralpraxis][])Style/NumericLiteralPrefixwith signed literals. ([@dylanpulver][])Lint/CopDirectiveSyntaxfalsely reporting multiple directives when valid reason text mentions another directive. ([@RedZapdos123][])Lint/DuplicateMethodsfor singleton methods in separate anonymous classes. ([@rafaelfranca][])Style/NilComparisonwith precedence-sensitive operands. ([@bbatsov][])Lint/ArgumentMismatchregistering false positives forFoo.newcalls, which are documented as out of scope but were checked against whichevernewthe project index could reach. ([@HoneyryderChuck][])Lint/ArgumentMismatchregistering false positives for calls that resolve to a private method onObject, such as a baredefwritten at the top level of a DSL file. ([@HoneyryderChuck][])rubocop:push+Coparguments enable cops that are disabled in the configuration. ([@bbatsov][])Excludewith the default configuration and with inherited files underPreview. ([@bbatsov][])RemoteConfigfailing to follow relative HTTP redirects for remote configuration files. ([@RedZapdos123][])Style/DataInheritanceto not register an offense when the class body defines constants, nested classes, or nested modules. ([@MatheusRich][])Style/StructInheritanceto not register an offense when the class body defines constants, nested classes, or nested modules. ([@MatheusRich][])Changes
Metrics/MethodLength,Metrics/AbcSize,Metrics/ClassLength,Metrics/ModuleLength,Metrics/CyclomaticComplexity,Metrics/PerceivedComplexity,Metrics/BlockLength,Metrics/ParameterListsandMetrics/BlockNestingunderPreview, ahead of them being disabled by default in RuboCop 2.0. ([@bbatsov][])Style/IfUnlessModifier,Style/GuardClause,Style/Next,Style/ClassAndModuleChildren,Style/DoubleNegation,Style/NumericPredicate,Style/SpecialGlobalVars,Style/PerlBackrefs,Style/FrozenStringLiteralComment,Style/FormatStringToken,Style/FormatString,Style/RegexpLiteral,Style/SignalException,Style/Lambda,Style/ParallelAssignment,Style/RaiseArgs,Style/ModuleFunction,Style/BlockDelimiters,Style/NumericLiterals,Style/NegatedIf,Naming/VariableNumber,Naming/HeredocDelimiterNaming,Layout/EmptyLineAfterGuardClauseandBundler/OrderedGemsunderPreview, ahead of them being disabled by default in RuboCop 2.0. ([@bbatsov][])AllCops: FailLeveltowarningunderPreview, so that style offenses are reported without failing the build, ahead of it becoming the default in RuboCop 2.0. ([@bbatsov][])EnforcedStyleofStyle/StringLiterals,Style/StringLiteralsInInterpolation,Layout/CaseIndentation,Layout/EndAlignment,Layout/MultilineMethodCallIndentation,Layout/MultilineOperationIndentation,Layout/FirstHashElementIndentation,Layout/FirstArrayElementIndentation,Layout/ParameterAlignment,Layout/ArgumentAlignment,Style/EmptyMethod,Style/Alias,Style/RescueStandardErrorandStyle/TernaryParenthesesunderPreview, ahead of them becoming the defaults in RuboCop 2.0. ([@bbatsov][])EnforcedStyleofStyle/SymbolArrayandStyle/WordArraytobracketsunderPreview, ahead of it becoming the default in RuboCop 2.0. ([@bbatsov][])Securitycops now report aswarningandMetricscops asrefactor. ([@bbatsov][])Style/DocumentationunderPreview, ahead of it being disabled by default in RuboCop 2.0. ([@bbatsov][])Lint/CopDirectiveSyntaxby default, so directives that silently disable nothing are reported. ([@bbatsov][])Style/DirectiveScopeconvert single-statement signedpush/popscopes andenable/disablepairs to thenext,enable-nextanddisable-nextforms. ([@bbatsov][])AllowedCopsandDisallowedCopsofStyle/DisableCopsWithinSourceCodeDirectivematch department names as well as cop names. ([@bbatsov][])Style/DoubleCopDisableDirective, superseded byLint/CopDirectiveSyntax, which now reports and corrects more than one directive on a line. ([@bbatsov][])warn_indentas a magic comment. This fixes a false positive forLayout/EmptyLineAfterMagicCommentand makesLint/OrderedMagicCommentsandStyle/MagicCommentFormataware of it. ([@koic][])AllowTrailingCommentoption ofStyle/DisableCopsWithinSourceCodeDirectivetoAllowWithReason. ([@bbatsov][])v1.90.0Compare Source
New features
AllowTrailingCommentoption toStyle/DisableCopsWithinSourceCodeDirective. ([@bbatsov][])disable-nextdirectives scoped to the following statement. ([@bbatsov][])--display-suppressedoption to also report offenses suppressed by directive comments, including their--justification in the JSON formatter. ([@bbatsov][])Lint/ArgumentMismatchcop. ([@bbatsov][])Lint/SuperArgumentMismatchcop. ([@bbatsov][])Style/TimeNowcop. ([@Starlexxx][])NumberOfEmptyLinesoption toLayout/EmptyLineAfterMagicCommentto configure the minimum number of empty lines required after magic comments. ([@alejofraga][])--report-unused-todo-entriesto catch rotting todo files. ([@bbatsov][])Style/DirectiveScopecop to flagdisable/enablepairs and disable-onlypush/popscopes that wrap a single statement and can usedisable-nextinstead. ([@bbatsov][])Lint/RedundantCopEnableDirectiveflag# rubocop:popdirectives without a matching# rubocop:push. ([@bbatsov][])Bug fixes
Lint/NameTypoandLint/UnusedPrivateMethodon string literals with invalid encoding. ([@bbatsov][])Lint/OutOfRangeRegexpRefwhen a preceding element access with a non-string literal argument (e.g.hash[:key]) discarded the tracked capture count. ([@koic][])--disable-uncorrectable. ([@bbatsov][])workspace/executeCommandrequest has no document URI in its arguments. ([@koic][])Naming/BinaryOperatorParameterName. ([@bbatsov][])Style/Samplewhenshuffleis given arandom:argument; the offense is still reported but no longer autocorrected, sinceshuffleandsampleconsume a seeded generator differently and would select different elements. ([@koic][])Layout/FirstArgumentIndentationwhenEnforcedStyle: with_fixed_indentationis specified forLayout/ArgumentAlignmentandLayout/FirstMethodArgumentLineBreakis enabled withAllowMultilineFinalElement: true. ([@Starlexxx][])RuboCop::Cop::IgnoredMethodsandRuboCop::Cop::IgnoredPatternbeing unreachable afterrequire 'rubocop'. ([@SeanLF][])Layout/ExtraSpacing. ([@Starlexxx][])Layout/LineLengthwhen a constant path likeHttp::UploadedFilematchesURISchemescase-insensitively. ([@koic][])Lint/UselessConstantScopingwhen assigning withClass.new,Module.new,Struct.new, orData.defineafterprivate. ([@pdobb][])Layout/MultilineMethodCallIndentationwhen a line has multiple single-line blocks before a multiline block. ([@koic][])Lint/ConstantReassignmentwhen a constant is assigned in compact-style namespaces (e.g.module A::B). ([@alex-tan][])Lint/RedundantSafeNavigationwhenInferNonNilReceiveris enabled and the receiver name is rebound by a nested block (itor a shadowed block parameter). ([@koic][])RuboCop::Cop::Registry#freezeto 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. ([@koic][])Lint/DuplicateMethodshonorsilence_redefinition_of_methodandredefine_methodas intentional redefinitions. ([@bbatsov][])--display-suppressedreporting aniljustificationwhen the offense is loaded from the result cache. ([@corsonknowles][])Layout/ClassStructureautocorrection producing a wrong order when an element cannot be moved, and make offenses report the category that actually blocks the expected order. ([@koic][])Lint/NameTyporegistering false positives for names provided by a gem whose namespace the project reopens, and for constants read from a namespace with an unresolved ancestor. ([@HoneyryderChuck][])Lint/UnusedPrivateMethodretaining every pastproject_indexobject 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 asrubocop --server. ([@bquorning][])Lint/UselessMethodDefinitionfalse positive for methods with**kwargs. ([@bbatsov][])--lspand--mcpbeing 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. ([@koic][])Excludesettings. ([@bbatsov][])Layout/LineLengthMaxwhen exemptions likeAllowedPatternsmatched the result. ([@bbatsov][])AllCops does not support TargetRailsVersion parameterwhen a plugin declares a customAllCopskey with a nil value and another plugin is loaded after it. ([@koic][])Style/StringConcatenationautocorrect. ([@bbatsov][])rubocop .(and other relative directory arguments) needlessly traversing directories excluded by the configuration, which made it much slower thanrubocopin projects with large ignored trees. ([@bbatsov][])Lint/RedundantCopDisableDirectiveandLint/RedundantCopEnableDirectiveleaving a directive's--reason behind when removing the directive. ([@corsonknowles][])Lint/UnusedPrivateMethodfor private definitions of Ruby runtime hooks likeinheritedandconst_missing. ([@bbatsov][])Lint/MissingCopEnableDirectivesuggest# rubocop:popinstead of# rubocop:enablefor an unclosed# rubocop:push. ([@bbatsov][])Lint/UnusedPrivateMethodwhen a method name is composed with an interpolated symbol or string prefix. ([@bbatsov][])Changes
AllowedCrossFilePathsoption toLint/DuplicateMethodsto skip cross-file duplicates in configured paths. ([@bbatsov][])AllowedNamesandAllowedPatternsoptions toLint/UnusedPrivateMethod. ([@bbatsov][])StyleGuidemetadata for 21 cops and fix four broken style guide links. ([@bbatsov][])Lint/DeprecatedReferenceperformance by short-circuitingdeprecated?. ([@connorshea][])Lint/NameTypoperformance by deferring the literal-name scan. ([@connorshea][])AllowForAlignmentto no longer treat a same-indentation line beyond the enclosing block as an alignment anchor forLayout/ExtraSpacing,Layout/SpaceAroundOperators, andLayout/SpaceBeforeFirstArg. ([@koic][])<testcase>elements only for cops enabled for each inspected file, instead of all cops. ([@koic][])Layout/SpaceAroundOperatorsaware of endless method definitions. ([@koic][])Lint/CopDirectiveSyntaxcatch keyword typos and unknown cop names. ([@bbatsov][])v1.89.0Compare Source
New features
DelegatingMethodsoption toLint/DuplicateMethodsto register customdelegate-shaped methods. ([@bbatsov][])DisallowedCopsconfiguration option toStyle/DisableCopsWithinSourceCodeDirective. ([@hammadxcm][])AllowYARDCommentBlockSeparatoroption toLayout/LeadingCommentSpace. ([@koic][])Lint/DeprecatedReferencecop to detect references to methods and constants documented as@deprecated, powered by the project index. ([@bbatsov][])Lint/NameTypocop. ([@bbatsov][])Lint/UnusedPrivateMethodcop for project-wide dead-code detection via the project index (disabled by default). ([@bbatsov][])Style/DisableCopsWithinSourceCodeDirectiveimpossible to disable via directive comments when explicitly enabled withEnabled: true. ([@rafaelfranca][])textDocument/codeActionrequests in the built-in language server, so LSP clients that request code actions (Eglot, Helix, Flycheck, ...) can apply RuboCop's autocorrects, not only clients that read them off the published diagnostic. ([@bbatsov][])NewCopsin department configuration to enable pending cops per department, including cops added up to a specific version (e.g.Style: NewCops: '1.19'). ([@koic][])Layout/IndentationWidthandStyle/ClassAndModuleChildren. ([@ioquatix][], [@koic][])Bug fixes
Lint/ToEnumArgumentswhen explicit extra keyword arguments are passed (e.g.def m(x:); to_enum(:m, x: x, y: 1); end), which raisesArgumentErrorwhen the enumerator is used. ([@RedZapdos123][])Layout/HashAlignmentwhen usingEnforcedHashRocketStyle: tableand a hash key spans multiple lines. ([@dduugg][])Lint/UselessAssignmentwith modifier conditions. ([@bbatsov][])Lint/Voidwith setter methods. ([@bbatsov][])Naming/VariableNumberwhen using an empty symbol hash key. ([@koic][])Style/MutableConstantwithData.define. ([@bbatsov][])Style/MissingRespondToMissingwhenrespond_to_missing?is defined in a reopening of the class andUseProjectIndexis enabled. ([@bbatsov][])Lint/LiteralAsConditionwhen a literal condition has an empty branch. ([@koic][])Lint/UselessRuby2Keywordswhenruby2_keywordsis used with a symbol but no method definition is found. ([@koic][])Metrics/MethodLengthwhen a method contains a heredoc and__ENCODING__. ([@koic][])Style/ArrayIntersectcop when the block-based check callsmember?/include?without an explicit receiver. ([@dduugg][])Style/NegativeArrayIndexcop. ([@viralpraxis][])Style/RedundantFormatwhen a format string uses a positional argument number beyond the 64-bit range. ([@koic][])Style/RedundantFormatwhen the argument for a positional variable width is missing. ([@koic][])Lint/LiteralInInterpolation. ([@bbatsov][])Style/ArrayIntersectwhen using safe navigationnone?with a block. ([@koic][])Style/MultipleComparisonthat dropped an allowed method comparison appearing between the compared values. ([@bbatsov][])Style/RedundantFileExtensionInRequirethat produced invalid Ruby when a backslash preceded the.rbextension. ([@bbatsov][])Lint/Voidto no longer autocorrect a constant used in a void context, since removing it can change behavior through constant autoloading side effects. ([@bbatsov][])Lint/InheritExceptionwhenExceptionis inherited indirectly through a project class (UseProjectIndex). ([@bbatsov][])Lint/AmbiguousAssignmentwhen using attribute or index assignment. ([@sngsmz][])Layout/ClassStructurewhen class body elements are wrapped inbeginblocks. ([@koic][])Layout/ClassStructurewhen usingprivate_class_methodorpublic_class_methoddef modifiers. ([@koic][])Style/ArrayIntersectwhen the receiver ofinclude?in a block is not an array literal. ([@koic][])Style/MultilineIfThenwhen using the Prism parser engine and anelsifwithoutthenfollows a branch usingthenwith a body on the same line. ([@koic][])Lint/DuplicateMethodsfor anonymous classes (Class.new) passed as arguments to the same named-receiver method call (e.g.T.cast). EachClass.newblock is an independent class, so methods defined in different blocks should not be treated as duplicates. ([@rafaelfranca][])Style/RedundantConstantBaseinside namespaces when the constant provably resolves identically without::(UseProjectIndex). ([@bbatsov][])Style/LambdaandStyle/SymbolProcproducing a syntax error like->(x)(&:method)when both cops run onlambda { |x| x.method }. ([@koic][])UseProjectIndex). ([@bbatsov][])Layout/LineLengthautocorrection for endless methods with block bodies. ([@hervetatche][])Lint/ConstantReassignmentwhen a built-in constant name is assigned andUseProjectIndexis enabled. ([@bbatsov][])Style/ClassAndModuleChildrenignoringEnforcedStyleForClassesandEnforcedStyleForModules, and skip autocorrection when mixed per-type styles make the result ambiguous. ([@bbatsov][])Layout/MultilineMethodCallIndentationwhen a line has multiple chained calls before a single-line block. ([@hammadxcm][])Style/RedundantLineContinuationby verifying backslash removal against a reparse of the source instead of hand-written grammar rules. ([@bbatsov][])Naming/PredicatePrefixandNaming/AccessorMethodNamewhen the method overrides an ancestor method defined in the project (UseProjectIndex). ([@bbatsov][])Style/StaticClasswhen the class is subclassed elsewhere in the project (UseProjectIndex). ([@bbatsov][])Style/MethodCallWithArgsParenthesesomit_parenthesesstyle by verifying each omission by reparsing before registering an offense. ([@bbatsov][])Changes
Style/Documentationto accept a reopened class or module documented at another definition site whenUseProjectIndexis enabled. ([@bbatsov][])rubocop-i18nto suggested extensions. ([@tejasbubane][])executeCommandProviderand the supported code action kinds in the language server's capabilities, so clients can discover therubocop.formatAutocorrectsandrubocop.formatAutocorrectsAllcommands. ([@bbatsov][])AllCops/UseProjectIndexis enabled. ([@bbatsov][])Lint/AmbiguousBlockAssociationto detectdo...endblocks likely intended for enumerable methods in arguments. ([@hammadxcm][])Layout/LineLengthperformance on files with large collection literals. ([@koic][])Style/ConditionalAssignmentskip cases it cannot safely rewrite instead of emitting invalid code or erroring on unusual branch shapes. ([@bbatsov][])Style/IfUnlessModifieroffense message when the condition is part of a larger expression. ([@rafa-el-souza][])Style/DisableCopsWithinSourceCodeDirectiveperformance on largeAllowedCopsandDisallowedCopslists by matching directives against memoized sets instead of rebuilding an array lookup per comment. ([@corsonknowles][])Style/RedundantLineContinuationperformance on files with many adjacent string literals joined by line continuations. ([@koic][])Lint/DuplicateMethodsto detect duplicates across files whenUseProjectIndexis enabled. ([@bbatsov][])Style/IfUnlessModifier,Style/WhileUntilModifier,Style/GuardClause, and other modifier cops respectLayout/LineLengthexemptions (allowed patterns, cop directives, allowed URIs) when checking whether the modifier form fits on one line. ([@bbatsov][])Lint/SafeNavigationChainautocorrection as unsafe. ([@koic][])Lint/ConstantResolutionto report only genuinely ambiguous constants whenUseProjectIndexis enabled. ([@bbatsov][])Style/RedundantAssignmentoffenses when there are comments between assignment and reference. ([@lovro-bikic][])Style/ClassAndModuleChildrenautocorrection to consult the project index for the namespace kind and definition sites whenUseProjectIndexis enabled. ([@bbatsov][])Lint/MissingSuperto skip the constructor offense when the project index shows no ancestor definesinitialize(UseProjectIndex). ([@bbatsov][])Style/Copyrightto validateAutocorrectNoticeonly when autocorrection is requested (-a/-A), so plain inspection no longer raises a warning. ([@koic][])Layout/RedundantLineBreakto verify each correction by reparsing before registering an offense. ([@bbatsov][])Style/RedundantParenthesesto verify each correction by reparsing before registering an offense. ([@bbatsov][])Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.