From 27504483edb48e76429f29f87addaea81d07068e Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Thu, 6 Jul 2023 16:12:53 +0200 Subject: [PATCH] migrate to voxpupuli-rubocop --- .rubocop.yml | 31 ++----------------------------- .rubocop_todo.yml | 2 +- rspec-puppet-facts.gemspec | 5 +---- 3 files changed, 4 insertions(+), 34 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 4cea0a2e..5c97ed62 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,35 +1,8 @@ --- inherit_from: .rubocop_todo.yml -require: - - rubocop-performance - - rubocop-rake - - rubocop-rspec - -AllCops: - NewCops: enable - TargetRubyVersion: '2.7' - -Gemspec/DevelopmentDependencies: - Enabled: false - -Gemspec/RequireMFA: - Enabled: false - -Style/TrailingCommaInHashLiteral: - Enabled: True - EnforcedStyleForMultiline: consistent_comma - -Style/TrailingCommaInArrayLiteral: - Enabled: True - EnforcedStyleForMultiline: consistent_comma - -Style/TrailingCommaInArguments: - Enabled: True - EnforcedStyleForMultiline: comma - -Metrics: - Enabled: false +inherit_gem: + voxpupuli-rubocop: rubocop.yml Style: Enabled: false diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 5db401ff..f99e494e 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2023-03-17 11:50:22 UTC using RuboCop version 1.48.1. +# on 2023-07-06 14:12:32 UTC using RuboCop version 1.50.2. # The point is for the user to remove these configuration records # one by one as the offenses are removed from the code base. # Note that changes in the inspected code, or installation of new diff --git a/rspec-puppet-facts.gemspec b/rspec-puppet-facts.gemspec index c686e557..85ef5323 100644 --- a/rspec-puppet-facts.gemspec +++ b/rspec-puppet-facts.gemspec @@ -23,10 +23,7 @@ Gem::Specification.new do |s| s.add_development_dependency 'rspec' s.add_development_dependency 'yard' - s.add_development_dependency 'rubocop', '~> 1.54.1' - s.add_development_dependency 'rubocop-performance' - s.add_development_dependency 'rubocop-rake' - s.add_development_dependency 'rubocop-rspec' + s.add_development_dependency 'voxpupuli-rubocop', '~> 1.3' s.add_runtime_dependency 'facter' s.add_runtime_dependency 'facterdb', '>= 0.5.0'