Skip to content

Commit

Permalink
Merge pull request #154 from bastelfreak/rubocop2
Browse files Browse the repository at this point in the history
migrate to voxpupuli-rubocop
  • Loading branch information
ekohl authored Jul 6, 2023
2 parents fe8333f + 2750448 commit 6ac4fba
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 34 deletions.
31 changes: 2 additions & 29 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 1 addition & 4 deletions rspec-puppet-facts.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 6ac4fba

Please sign in to comment.