class RubyLsp::Requests::Support::RuboCopRunner

def initialize(*args)

: (*String args) -> void
def initialize(*args)
  @options = {} #: Hash[Symbol, untyped]
  @offenses = [] #: Array[::RuboCop::Cop::Offense]
  @errors = [] #: Array[String]
  @warnings = [] #: Array[String]
  args += DEFAULT_ARGS
  rubocop_options = ::RuboCop::Options.new.parse(args).first
  config_store = ::RuboCop::ConfigStore.new
  config_store.options_config = rubocop_options[:config] if rubocop_options[:config]
  @config_for_working_directory = config_store.for_pwd #: ::RuboCop::Config
  super(rubocop_options, config_store)
end