chore(deps): update rubocop - #14
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovate
Bot
force-pushed
the
renovate/rubocop
branch
from
May 17, 2025 23:44
ee6e39f to
e1c9c8b
Compare
renovate
Bot
force-pushed
the
renovate/rubocop
branch
from
June 5, 2025 00:15
e1c9c8b to
931904e
Compare
renovate
Bot
force-pushed
the
renovate/rubocop
branch
from
June 14, 2025 23:40
931904e to
24cd4d9
Compare
renovate
Bot
force-pushed
the
renovate/rubocop
branch
from
June 22, 2025 07:48
24cd4d9 to
48c59f9
Compare
renovate
Bot
force-pushed
the
renovate/rubocop
branch
from
July 13, 2025 04:09
48c59f9 to
b4456fa
Compare
renovate
Bot
force-pushed
the
renovate/rubocop
branch
from
July 27, 2025 00:13
b4456fa to
b3d6515
Compare
renovate
Bot
force-pushed
the
renovate/rubocop
branch
3 times, most recently
from
August 11, 2025 07:35
fdbf1c8 to
8b24857
Compare
renovate
Bot
force-pushed
the
renovate/rubocop
branch
from
August 15, 2025 19:33
8b24857 to
5fb4fa0
Compare
renovate
Bot
force-pushed
the
renovate/rubocop
branch
2 times, most recently
from
August 28, 2025 00:15
9a35a0e to
fb67645
Compare
renovate
Bot
force-pushed
the
renovate/rubocop
branch
3 times, most recently
from
September 6, 2025 14:36
33a6438 to
44fb749
Compare
renovate
Bot
force-pushed
the
renovate/rubocop
branch
2 times, most recently
from
September 28, 2025 07:50
7ecdbba to
4b974b5
Compare
renovate
Bot
force-pushed
the
renovate/rubocop
branch
2 times, most recently
from
October 23, 2025 06:39
162c341 to
3c5f273
Compare
renovate
Bot
force-pushed
the
renovate/rubocop
branch
from
November 1, 2025 11:54
3c5f273 to
79cde64
Compare
renovate
Bot
force-pushed
the
renovate/rubocop
branch
2 times, most recently
from
November 19, 2025 03:48
2f29390 to
086b5dd
Compare
renovate
Bot
force-pushed
the
renovate/rubocop
branch
2 times, most recently
from
November 29, 2025 15:39
b703ba7 to
d3e994e
Compare
renovate
Bot
force-pushed
the
renovate/rubocop
branch
2 times, most recently
from
December 24, 2025 11:46
af6ac71 to
f185084
Compare
renovate
Bot
force-pushed
the
renovate/rubocop
branch
2 times, most recently
from
January 8, 2026 07:08
c0b7bd4 to
278b12b
Compare
renovate
Bot
force-pushed
the
renovate/rubocop
branch
2 times, most recently
from
February 3, 2026 12:00
827d496 to
0171139
Compare
renovate
Bot
force-pushed
the
renovate/rubocop
branch
from
February 14, 2026 03:08
0171139 to
ccdc29a
Compare
renovate
Bot
force-pushed
the
renovate/rubocop
branch
2 times, most recently
from
March 8, 2026 08:17
7e76851 to
ee378e4
Compare
renovate
Bot
force-pushed
the
renovate/rubocop
branch
from
March 14, 2026 15:49
ee378e4 to
023c88b
Compare
renovate
Bot
force-pushed
the
renovate/rubocop
branch
from
March 31, 2026 17:12
023c88b to
0d545ec
Compare
renovate
Bot
force-pushed
the
renovate/rubocop
branch
from
April 15, 2026 19:28
0d545ec to
9603454
Compare
renovate
Bot
force-pushed
the
renovate/rubocop
branch
3 times, most recently
from
May 17, 2026 06:47
223ced2 to
a830074
Compare
renovate
Bot
force-pushed
the
renovate/rubocop
branch
from
May 21, 2026 08:15
a830074 to
ab0ff6e
Compare
renovate
Bot
force-pushed
the
renovate/rubocop
branch
from
May 30, 2026 15:52
ab0ff6e to
852db93
Compare
renovate
Bot
force-pushed
the
renovate/rubocop
branch
2 times, most recently
from
June 7, 2026 12:15
b709c8e to
e7a4b61
Compare
renovate
Bot
force-pushed
the
renovate/rubocop
branch
2 times, most recently
from
June 21, 2026 11:44
8f912bd to
4fd928a
Compare
renovate
Bot
force-pushed
the
renovate/rubocop
branch
from
July 4, 2026 04:11
4fd928a to
8e0bedb
Compare
renovate
Bot
force-pushed
the
renovate/rubocop
branch
from
July 15, 2026 04:14
8e0bedb to
e956126
Compare
renovate
Bot
force-pushed
the
renovate/rubocop
branch
from
August 7, 2026 03:08
e956126 to
9ee75f1
Compare
renovate
Bot
force-pushed
the
renovate/rubocop
branch
from
August 21, 2026 04:12
9ee75f1 to
19d3b2c
Compare
renovate
Bot
force-pushed
the
renovate/rubocop
branch
from
August 29, 2026 05:50
19d3b2c to
416e22f
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.75.0'→'~> 1.90.0''~> 2.27.0'→'~> 2.28.0''~> 1.24.0'→'~> 1.27.0''~> 2.30.0'→'~> 2.37.0''~> 3.5.0'→'~> 3.10.0''~> 2.31.0'→'~> 2.32.0'Release Notes
rubocop/rubocop (rubocop)
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][])Style/SoleNestedConditionalto only register an offense when its correction is verified to parse. ([@bbatsov][])v1.88.2Compare Source
Bug fixes
Lint/ToJSON, which did not flag singletondef self.to_jsondefinitions. ([@bbatsov][])Lint/UnreachableCode, which only flagged the first statement after a flow-of-control statement instead of every unreachable statement that followed it. ([@bbatsov][])Lint/UselessNumericOperation, which only flagged bare method-call receivers and ignored local variables, instance/class/global variables, and constants (e.g.@x + 0,CONST * 1). ([@bbatsov][])Lint/Voidwhere safe-navigation calls to nonmutating methods (e.g.x&.sort) were not flagged whenCheckForMethodsWithNoSideEffectsis enabled. ([@bbatsov][])Style/ArrayIntersectwith the block form usinginclude?(e.g.array1.any? { |e| array2.include?(e) }), which was only detected formember?. ([@bbatsov][])Style/CollectionCompact, which did not flaggrep_v(nil)/grep_v(NilClass)on a safe-navigation call (e.g.array&.grep_v(nil)). ([@bbatsov][])Style/DefWithParentheseswith a single-line definition whose body follows a semicolon (e.g.def foo(); end), where the parentheses can be safely omitted. ([@bbatsov][])Style/MixinUsagewhen including multiple modules in one statement. ([@bbatsov][])Style/ModuleFunctionwhen the module body is a single statement. ([@bbatsov][])Style/RedundantCurrentDirectoryInPathwith double-quoted strings containing interpolation. ([@bbatsov][])Style/RedundantHeredocDelimiterQuoteswith double-quoted delimiters whose body contains interpolation or escapes. ([@bbatsov][])Gemspec/DuplicatedAssignmentwith multiple specifications. ([@bbatsov][])Layout/CommentIndentationwith a comment above an inline access modifier (e.g.private def foo) whenLayout/AccessModifierIndentationis configured withEnforcedStyle: outdent. ([@grk][])Style/InvertibleUnlessConditionwith a multi-statement begin condition. ([@bbatsov][])Style/ArgumentsForwardingandStyle/MethodDefParentheseswhen autocorrection conflicts while adding parentheses to method definition arguments. ([@koic][])Lint/ToJSONthat produced invalid Ruby (def to_json(*_args)()) when the method had explicit empty parentheses. ([@bbatsov][])Style/MethodCallWithoutArgsParentheseswhen empty parentheses span multiple lines and the method call has a block. ([@koic][])Style/HashConversionwith a splat argument, which previously produced an invalid hash literal. ([@bbatsov][])Style/HashLookupMethodwith safe navigation, where the suggested bracket form would be the unreadablehash&.[](key). ([@bbatsov][])Style/IdenticalConditionalBranchesthat hoisted the moved expression to column zero instead of matching the surrounding indentation. ([@bbatsov][])Style/InvertibleUnlessConditionwith mixed&&/||conditions, which lost the required parentheses when inverting. ([@bbatsov][])Style/TrivialAccessorswhenAllowPredicates: falseis set and a trivial reader is defined as a predicate class method. ([@koic][])Layout/LineLengthwithSplitStringswhen an over-long string is indented under a multi-line parent. ([@bbatsov][])Style/MissingRespondToMissingwhenmethod_missingis defined at the top level or alongside sibling classes. ([@bbatsov][])Layout/ElseAlignmentwhen usingelsewithin a block that is part of a larger expression. ([@koic][])Layout/MultilineMethodCallIndentationwhen a method chain is nested inside a parenthesized argument list or a grouped expression within a hash pair value. ([@koic][])Style/StructInheritanceautocorrect dropping leading indentation when class is inside a module or namespace. ([@amckinnie][])Style/DocumentationMethodignoringAllowedMethodsfor inline modifier defs. ([@bbatsov][])Style/LambdaCallwhen the argument list contains a comment, which the autocorrect would have dropped. ([@bbatsov][])Changes
on_new_investigation,on_investigation_end, andon_other_fileonly to cops that refine them, and by skippingafter_*dispatch when no cop needs it. ([@bbatsov][])Lint/Debuggerperformance on code without debugger calls. ([@bbatsov][])Lint/NumericOperationWithConstantResultautocorrect as unsafe because it drops the operands, discarding their side effects and silencing cases where the result is not actually constant (e.g.x / xraises whenxis0). ([@bbatsov][])AllowedPatterns,ForbiddenPatterns, andAllowedMethodsby compiling the configured patterns only once. ([@bbatsov][])Style/IfUnlessModifierand other modifier cops on files with many comments or conditionals. ([@bbatsov][])v1.88.1Compare Source
Bug fixes
Bundler/GemCommentwith a non-literal gem option key. ([@bbatsov][])Layout/ClassStructurewhen a class body is a single safe-navigation call (e.g.test&.private_methods(def foo; end)). ([@bbatsov][])Gemspec/DevelopmentDependencieswhenAllowedGemsis nil. ([@bbatsov][])Metrics/MethodLengthwith an anonymousdefine_method. ([@bbatsov][])Naming/InclusiveLanguagewith nil or emptyFlaggedTerms. ([@bbatsov][])Security/IoMethodswith a non-string-literal argument. ([@bbatsov][])Style/EmptyStringInsideInterpolationwith a modifier conditional. ([@bbatsov][])Style/OpenStructUsewith a bareOpenStructroot node. ([@bbatsov][])Style/TrailingUnderscoreVariablewhen a nested destructuring group consists only of underscore variables. ([@bbatsov][])Security/MarshalLoadwith a proc argument. ([@bbatsov][])Style/MethodDefParentheseswith named rest arguments underEnforcedStyle: require_no_parentheses. ([@bbatsov][])Style/MultilineMethodSignaturewhere a signature that fits on one line was skipped because the multi-line source length was measured instead of the collapsed width. ([@bbatsov][])Style/OptionalArgumentswith singleton methods. ([@bbatsov][])Style/RedundantFilterChainwith numbered-parameter blocks. ([@bbatsov][])Lint/ToEnumArgumentswhen a braced hash is passed to keyword parameters (e.g.to_enum(:m, { required: required })), which raisesArgumentErrorwhen the enumerator is used. ([@RedZapdos123][])Naming/FileNamewhen a class or module name contains multiple consecutiveAllowedAcronyms. ([@camallen][])Style/DirEmptywith a block. ([@bbatsov][])Style/EmptyLiteralwith numbered anditblock parameters. ([@bbatsov][])Style/EnvHome. ([@bbatsov][])Style/InlineCommentwithrubocop:tododirectives. ([@bbatsov][])Style/MultilineIfThen. ([@bbatsov][])Style/NumericPredicatewhen an allowed method encloses a numbered-parameter oritblock. ([@bbatsov][])Style/OptionHashwhen the options hash is forwarded with an explicitsuper. ([@bbatsov][])Style/RedundantFormatwith a lone format sequence. ([@bbatsov][])Style/RedundantSelfwith a rescue exception variable. ([@bbatsov][])Style/Semicolonwith a semicolon inside a string literal. ([@bbatsov][])Layout/ConditionPositionthat dropped a body statement sharing the condition's line via a semicolon. ([@bbatsov][])Layout/EmptyCommentthat deleted a heredoc when removing an empty comment trailing its opener. ([@bbatsov][])Layout/EmptyLineBetweenDefsthat inserted a blank line inside a heredoc body when an endless method's body was a heredoc. ([@bbatsov][])Layout/SpaceAroundOperatorsthat turned**=and/=compound assignments into**//, dropping the assignment. ([@bbatsov][])Naming/MemoizedInstanceVariableName. ([@bbatsov][])Naming/RescuedExceptionsVariableName. ([@bbatsov][])Style/DataInheritancewith a brace block. ([@bbatsov][])Style/EmptyCaseConditionas ayield/superargument. ([@bbatsov][])Style/EmptyCaseConditionwith low-precedencewhenvalues. ([@bbatsov][])Style/EmptyClassDefinitionwith a namespaced constant. ([@bbatsov][])Style/EmptyHeredoc. ([@bbatsov][])Style/EvenOdd. ([@bbatsov][])Style/ExactRegexpMatchwith a single quote. ([@bbatsov][])Style/FileNull. ([[@bbatsov](https://redirect.github.coConfiguration
📅 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.