Skip to content

Commit

Permalink
Switch to voxpupuli-rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Jul 5, 2024
1 parent 2c8b9cf commit 649286c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 24 deletions.
24 changes: 3 additions & 21 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,12 @@
---
inherit_from: .rubocop_todo.yml

require:
- rubocop-performance
- rubocop-rspec

AllCops:
Exclude:
- Gemfile
- Rakefile
- spec/fixtures/**/*
- vendor/bundle/**/*
NewCops: enable
SuggestExtensions: false
TargetRubyVersion: '2.7'
inherit_gem:
voxpupuli-rubocop: rubocop.yml

# Disabled
Style/ClassAndModuleChildren:
Enabled: false

Layout/LineLength:
Max: 200

####################################################
# Cops below here due for deprecation
####################################################
# ``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>
# As the new cops are already present, e.g., Rspec/SpecFilePathPathFormat, then disabling this in preparation
Gemspec/RequireMFA:
Enabled: false
3 changes: 0 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ group :test do
gem 'rake', require: false

gem 'rspec', '~> 3.0', require: false
gem 'rubocop', '~> 1.64.0', require: false
gem 'rubocop-performance', '~> 1.16', require: false
gem 'rubocop-rspec', '~> 3.0', require: false
gem 'simplecov', require: false
gem 'simplecov-console', require: false

Expand Down
1 change: 1 addition & 0 deletions rspec-puppet.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Gem::Specification.new do |s|
s.files = Dir['CHANGELOG.md', 'LICENSE', 'README.md', 'lib/**/*', 'bin/**/*']

s.add_dependency 'rspec', '~> 3.0'
s.add_development_dependency 'voxpupuli-rubocop', '~> 2.8.0'

s.authors = ['Tim Sharpe', 'Puppet, Inc.', 'Community Contributors']
s.email = ['tim@sharpe.id.au', 'modules-team@puppet.com']
Expand Down

0 comments on commit 649286c

Please sign in to comment.