Skip to content

Commit 1681c5f

Browse files
Merge pull request #426 from puppetlabs/CAT-1688-Upgrade-rubocop
(CAT-1688) Upgrade Rubocop to `~> 1.50.0`
2 parents 27b547e + b7e825b commit 1681c5f

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

.rubocop.yml

+3
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,6 @@ AllCops:
1717
# Disabled
1818
Style/ClassAndModuleChildren:
1919
Enabled: false
20+
21+
Layout/LineLength:
22+
Max: 200

.rubocop_todo.yml

+1-8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This configuration was generated by
22
# `rubocop --auto-gen-config`
3-
# on 2023-04-19 09:06:42 UTC using RuboCop version 1.48.1.
3+
# on 2024-01-22 15:48:54 UTC using RuboCop version 1.50.2.
44
# The point is for the user to remove these configuration records
55
# one by one as the offenses are removed from the code base.
66
# Note that changes in the inspected code, or installation of new
@@ -124,10 +124,3 @@ Style/TrailingCommaInArguments:
124124
Exclude:
125125
- 'lib/puppetlabs_spec_helper/tasks/fixtures.rb'
126126
- 'spec/unit/puppetlabs_spec_helper/tasks/fixture_helpers_spec.rb'
127-
128-
# Offense count: 17
129-
# This cop supports safe autocorrection (--autocorrect).
130-
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
131-
# URISchemes: http, https
132-
Layout/LineLength:
133-
Max: 195

Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ group :development do
3030
gem 'rake'
3131
gem 'rspec', '~> 3.1'
3232
gem 'rspec-its', '~> 1.0'
33-
gem 'rubocop', '~> 1.48.1', require: false
33+
gem 'rubocop', '~> 1.50.0', require: false
3434
gem 'rubocop-rspec', '~> 2.19', require: false
3535
gem 'rubocop-performance', '~> 1.16', require: false
3636

0 commit comments

Comments
 (0)