class RuboCop::Cop::RubyLsp::UseLanguageServerAliases

Prefer using Interface, Transport and Constant aliases within the RubyLsp module, without having to prefix with LanguageServer::Protocol

@example # bad module RubyLsp class FoldingRanges sig { override.returns(T.all(T::Array, Object)) } def run; end end

# good module RubyLsp class FoldingRanges sig { override.returns(T.all(T::Array, Object)) } def run; end end end

Constants

>ALIASED_CONSTANTS
>MSG

Public Instance Methods

on_new_investigation()