From ab18144a677f76d50d37aaeae2f4b75a3f7422d1 Mon Sep 17 00:00:00 2001 From: Justin Searls Date: Tue, 2 Jul 2024 14:47:39 -0400 Subject: [PATCH] Had format:/formatters: confused with --format CLI name, I think Fixes #638 --- lib/standard/lsp/stdin_rubocop_runner.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/standard/lsp/stdin_rubocop_runner.rb b/lib/standard/lsp/stdin_rubocop_runner.rb index a3c8d317..99d475da 100644 --- a/lib/standard/lsp/stdin_rubocop_runner.rb +++ b/lib/standard/lsp/stdin_rubocop_runner.rb @@ -12,7 +12,7 @@ class ConfigurationError < StandardError; end DEFAULT_RUBOCOP_OPTIONS = { stderr: true, force_exclusion: true, - format: "RuboCop::Formatter::BaseFormatter", + formatters: ["RuboCop::Formatter::BaseFormatter"], raise_cop_error: true }.freeze