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