From 579ed38757f9f11336d70b59ddb72ce704886b1e Mon Sep 17 00:00:00 2001 From: Tsuyoshi CHO Date: Sat, 30 Sep 2023 18:25:09 +0900 Subject: [PATCH] Update rubocop correct and add safe/all settings --- config/efm-langserver/config.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/config/efm-langserver/config.yaml b/config/efm-langserver/config.yaml index cf936e7..a8fbe0f 100644 --- a/config/efm-langserver/config.yaml +++ b/config/efm-langserver/config.yaml @@ -281,12 +281,19 @@ tools: - Rakefile - .rubocop.yml commands: - - title: 'rubocop fix' + - title: 'rubocop fix(safe)' command: bundle arguments: - 'exec' - 'rubocop' - - '--auto-correct-all' + - '--autocorrect' + - '${INPUT}' + - title: 'rubocop fix(all)' + command: bundle + arguments: + - 'exec' + - 'rubocop' + - '--autocorrect-all' - '${INPUT}' rubocop-format: &rubocop-format