Skip to content

Commit

Permalink
Merge pull request #541 from puppetlabs/CAT-1688-Upgrade_rubocop
Browse files Browse the repository at this point in the history
(CAT-1688) Upgrade Rubocop
  • Loading branch information
jordanbreen28 authored Jan 22, 2024
2 parents 8a9908b + 703a172 commit 30cedba
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 16 deletions.
4 changes: 4 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,7 @@ AllCops:
# Disabled
Style/ClassAndModuleChildren:
Enabled: false
Layout/LineLength:
Max: 200
Gemspec/RequireMFA:
Enabled: false
15 changes: 0 additions & 15 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,6 @@
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: Severity, Include.
# Include: **/*.gemspec
Gemspec/RequireMFA:
Exclude:
- 'puppet_litmus.gemspec'

# Offense count: 17
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
Metrics/AbcSize:
Expand Down Expand Up @@ -116,10 +108,3 @@ Style/OpenStructUse:
Exclude:
- 'lib/puppet_litmus/puppet_helpers.rb'
- 'spec/spec_helper.rb'

# Offense count: 135
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
# URISchemes: http, https
Layout/LineLength:
Max: 199
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ group :test do
gem 'rspec-collection_matchers', '~> 1.0'
gem 'rspec-its', '~> 1.0'

gem 'rubocop', '~> 1.48.1'
gem 'rubocop', '~> 1.50.0'
gem 'rubocop-rspec', '~> 2.19'
gem 'rubocop-performance', '~> 1.16'

Expand Down

0 comments on commit 30cedba

Please sign in to comment.