relnotes/v1.86.0.md
AllowedParentClasses option to Style/EmptyClassDefinition. (@hammadkhan)AllowedReceivers for Style/HashLookupMethod. (@koic)Style/ConcatArrayLiterals autocorrect deleting code for percent literals with interpolation. (@bbatsov)Lint/ConstantReassignment. (@ydakuka)Lint/DuplicateMethods when duplicate methods are defined in anonymous classes and modules not assigned to a constant. (@Darhazer)Style/RedundantParentheses when redundant parentheses around range literals in block body. (@koic)Layout/MultilineMethodCallIndentation when method chain is inside a hash pair value passed to a multiline chained method call. (@ydakuka)Lint/DuplicateMethods when modules blocks are passed as method arguments. (@5hun-s)Lint/DuplicateMethods when the same method is defined in different anonymous module blocks passed to a no-receiver call (e.g. stub_const). (@Darhazer)Layout/EmptyLineAfterGuardClause when using a guard clause followed by a multi-line guard clause with raise, fail, return, break, or next. (@koic)Layout/RedundantLineBreak when setting InspectBlocks: true and using rescue or ensure in the block. (@koic)Style/FileOpen when assigning File.open to an instance variable, class variable, global variable, or constant. (@koic)Lint/DuplicateMethods when the same method is defined in anonymous module blocks passed to different receivers. (@koic)Style/IfWithSemicolon when return with value is in the else branch. (@koic)Style/IfUnlessModifier when multiple if/unless modifier forms are on the same line inside a collection. (@ydakuka)Lint/SafeNavigationChain when chaining a method call after safe navigation in the if branch of a ternary. (@koic)Layout/EndAlignment when end is followed by || or &&. (@koic)Safe/SafeAutoCorrect parameter" when those parameters are set for cops that don't have them in their default configuration. (@dduugg)Lint/UselessDefaultValueArgument when fetch without a receiver is inside a fetch block. (@koic)Style/IfWithSemicolon when using single-line unless / ; / end. (@koic)Style/NonNilCheck autocorrect for receivers containing spaces. (@bbatsov)Style/RaiseArgs to allow anonymous keyword forwarding (raise Ex.new(**)). (@bbatsov)Lint/RedundantCopDisableDirective when a rubocop:disable comment is used to suppress Lint/EmptyWhen, Lint/EmptyConditionalBody, Lint/EmptyInPattern, or Style/SymbolProc. (@eugeneius)Style/RedundantPercentQ for %q strings with interpolation-like syntax. (@bbatsov)Style/AndOr adding unnecessary parentheses around return without arguments. (@eugeneius)Lint/UselessConstantScoping. (@h-lame)Style/TrailingMethodEndStatement to detect singleton methods (def self.foo). (@bbatsov)