Skip to content

Commit a319ea0

Browse files
committed
(CONT-677) - Set Rubocop Target Ruby Version to 2.6
1 parent 720407e commit a319ea0

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.rubocop.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ AllCops:
99
DisplayCopNames: true
1010
ExtraDetails: true
1111
DisplayStyleGuide: true
12-
TargetRubyVersion: '2.7'
12+
TargetRubyVersion: '2.6'
1313
Include:
1414
- "**/*.rb"
1515
Exclude:

.rubocop_todo.yml

+7-1
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 16:55:21 UTC using RuboCop version 1.48.1.
3+
# on 2023-04-25 08:02:29 UTC using RuboCop version 1.48.1.
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
@@ -21,6 +21,12 @@ Lint/ConstantDefinitionInBlock:
2121
Exclude:
2222
- 'spec/unit/puppet/provider/postgresql_replication_slot/ruby_spec.rb'
2323

24+
# Offense count: 1
25+
# This cop supports safe autocorrection (--autocorrect).
26+
Lint/RedundantCopEnableDirective:
27+
Exclude:
28+
- 'spec/unit/puppet/type/postgresql_psql_spec.rb'
29+
2430
# Offense count: 6
2531
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
2632
Metrics/AbcSize:

0 commit comments

Comments
 (0)