relnotes/v1.87.0.md
--enable-all-cops and --disable-all-cops command line options that override AllCops/EnabledByDefault and AllCops/DisabledByDefault in configuration files. (@koic)Layout/EmptyLineAfterGuardClause accept the new # simplecov:disable and # simplecov:enable directive comments. (@koic)AllCops/UseProjectIndex to enable cross-file detection in Lint/ConstantReassignment (experimental). (@koic)Lint/ParenthesesAsGroupedExpression when the first argument is a call-like expression with its own parentheses, such as yield(...). (@koic)Style/YodaCondition when one side is an array or hash literal containing non-literal elements. (@koic)Style/Alias causing a syntax error when the return value of alias_method is used, such as an argument to public, private, protected, or module_function, or the right-hand side of an assignment. (@koic)Style/ClassAndModuleChildren causing a syntax error when the namespace contains a method call (e.g., class self.class::Foo; end). (@koic)Style/FileWrite causing a syntax error when the written heredoc is chained with another method call. (@koic)Style/HashConversion causing a syntax error when Hash[...] is passed an anonymous splat (*). (@koic)Style/StructInheritance causing a syntax error when the inherited Struct.new is called without parentheses. (@koic)Layout/RedundantLineBreak when a single-line block is chained with a safe navigation method call. (@koic)Layout/IndentationWidth to indent block bodies relative to the method selector for trailing-dot multi-line method chains when EnforcedStyleAlignWith is relative_to_receiver. (@ddbrendan)Style/RedundantParentheses that swallowed chained method calls into a trailing inline comment on the line above the closing parenthesis. (@hammadxcm)