From 62c561b11eba353eef3ed302d703dcbd2f1751da Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Wed, 15 May 2024 17:09:38 +0200 Subject: [PATCH] rubocop: Use rake task from voxpupuli-rubocop --- Rakefile | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/Rakefile b/Rakefile index a569791b0..a89328a20 100644 --- a/Rakefile +++ b/Rakefile @@ -197,15 +197,7 @@ rescue LoadError end begin - require 'rubocop/rake_task' + require 'voxpupuli/rubocop/rake' rescue LoadError - # RuboCop is an optional group -else - RuboCop::RakeTask.new(:rubocop) do |task| - # These make the rubocop experience maybe slightly less terrible - task.options = ['--display-cop-names', '--display-style-guide', '--extra-details'] - - # Use Rubocop's Github Actions formatter if possible - task.formatters << 'github' if ENV['GITHUB_ACTIONS'] == 'true' - end + # the voxpupuli-rubocop gem is optional end