Skip to content

Commit 6d42350

Browse files
committed
Switch to voxpupuli-rubocop
1 parent 68b5cd1 commit 6d42350

File tree

3 files changed

+4
-24
lines changed

3 files changed

+4
-24
lines changed

Diff for: .rubocop.yml

+3-21
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,12 @@
1+
---
12
inherit_from: .rubocop_todo.yml
23

3-
require:
4-
- rubocop-performance
5-
- rubocop-rspec
6-
7-
AllCops:
8-
Exclude:
9-
- Gemfile
10-
- Rakefile
11-
- spec/fixtures/**/*
12-
- vendor/bundle/**/*
13-
NewCops: enable
14-
SuggestExtensions: false
15-
TargetRubyVersion: '2.7'
4+
inherit_gem:
5+
voxpupuli-rubocop: rubocop.yml
166

177
# Disabled
188
Style/ClassAndModuleChildren:
199
Enabled: false
2010

2111
Layout/LineLength:
2212
Max: 200
23-
24-
####################################################
25-
# Cops below here due for deprecation
26-
####################################################
27-
# ``Rspec/FilePath`` is going to be deprecated in the next major release of rubocop >=3.0.0: see <https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/FilePath>
28-
# As the new cops are already present, e.g., Rspec/SpecFilePathPathFormat, then disabling this in preparation
29-
Gemspec/RequireMFA:
30-
Enabled: false

Diff for: Gemfile

-3
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ group :test do
3232
gem 'rake', require: false
3333

3434
gem 'rspec', '~> 3.0', require: false
35-
gem 'rubocop', '~> 1.64.0', require: false
36-
gem 'rubocop-performance', '~> 1.16', require: false
37-
gem 'rubocop-rspec', '~> 3.0', require: false
3835
gem 'simplecov', require: false
3936
gem 'simplecov-console', require: false
4037

Diff for: rspec-puppet.gemspec

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Gem::Specification.new do |s|
1919
s.files = Dir['CHANGELOG.md', 'LICENSE', 'README.md', 'lib/**/*', 'bin/**/*']
2020

2121
s.add_dependency 'rspec', '~> 3.0'
22+
s.add_development_dependency 'voxpupuli-rubocop', '~> 3.0.0'
2223

2324
s.authors = ['Tim Sharpe', 'Puppet, Inc.', 'Community Contributors']
2425

0 commit comments

Comments
 (0)