Skip to content

Commit 30cedba

Browse files
Merge pull request #541 from puppetlabs/CAT-1688-Upgrade_rubocop
(CAT-1688) Upgrade Rubocop
2 parents 8a9908b + 703a172 commit 30cedba

File tree

3 files changed

+5
-16
lines changed

3 files changed

+5
-16
lines changed

.rubocop.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,7 @@ AllCops:
1717
# Disabled
1818
Style/ClassAndModuleChildren:
1919
Enabled: false
20+
Layout/LineLength:
21+
Max: 200
22+
Gemspec/RequireMFA:
23+
Enabled: false

.rubocop_todo.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,6 @@
66
# Note that changes in the inspected code, or installation of new
77
# versions of RuboCop, may require this file to be generated again.
88

9-
# Offense count: 1
10-
# This cop supports safe autocorrection (--autocorrect).
11-
# Configuration parameters: Severity, Include.
12-
# Include: **/*.gemspec
13-
Gemspec/RequireMFA:
14-
Exclude:
15-
- 'puppet_litmus.gemspec'
16-
179
# Offense count: 17
1810
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
1911
Metrics/AbcSize:
@@ -116,10 +108,3 @@ Style/OpenStructUse:
116108
Exclude:
117109
- 'lib/puppet_litmus/puppet_helpers.rb'
118110
- 'spec/spec_helper.rb'
119-
120-
# Offense count: 135
121-
# This cop supports safe autocorrection (--autocorrect).
122-
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
123-
# URISchemes: http, https
124-
Layout/LineLength:
125-
Max: 199

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ group :test do
88
gem 'rspec-collection_matchers', '~> 1.0'
99
gem 'rspec-its', '~> 1.0'
1010

11-
gem 'rubocop', '~> 1.48.1'
11+
gem 'rubocop', '~> 1.50.0'
1212
gem 'rubocop-rspec', '~> 2.19'
1313
gem 'rubocop-performance', '~> 1.16'
1414

0 commit comments

Comments
 (0)