Skip to content

Commit

Permalink
(CAT-1688) Upgrade Rubocop
Browse files Browse the repository at this point in the history
Following a recent team decision, we are implementing a Rubocop Upgrade
moving the version from 1.48.1 to 1.50.0. This should be the final
version until Puppet 7 is unsupported.
  • Loading branch information
LukasAud committed Jan 19, 2024
1 parent 3344ed3 commit 703a172
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 703a172

Please sign in to comment.