lib/ruby_lsp/requests/support/rubocop_formatter.rb in ruby-lsp-0.16.3 vs lib/ruby_lsp/requests/support/rubocop_formatter.rb in ruby-lsp-0.16.4

- old
+ new

@@ -1,18 +1,15 @@ # typed: strict # frozen_string_literal: true return unless defined?(RubyLsp::Requests::Support::RuboCopRunner) -require "singleton" - module RubyLsp module Requests module Support class RuboCopFormatter extend T::Sig include Formatter - include Singleton sig { void } def initialize @diagnostic_runner = T.let(RuboCopRunner.new, RuboCopRunner) # -a is for "--auto-correct" (or "--autocorrect" on newer versions of RuboCop)