11# This configuration was generated by
22# `rubocop --auto-gen-config`
3- # on 2023-08-25 10:33:19 UTC using RuboCop version 1.48.1.
3+ # on 2023-04-04 08:44:46 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
@@ -34,12 +34,12 @@ Lint/MissingCopEnableDirective:
3434 - ' lib/puppet-lint/tasks/puppet-lint.rb'
3535 - ' spec/unit/puppet-lint/puppet-lint_spec.rb'
3636
37- # Offense count: 60
37+ # Offense count: 58
3838# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
3939Metrics/AbcSize :
4040 Max : 142
4141
42- # Offense count: 36
42+ # Offense count: 34
4343# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode.
4444# AllowedMethods: refine
4545Metrics/BlockLength :
@@ -55,27 +55,22 @@ Metrics/BlockNesting:
5555Metrics/ClassLength :
5656 Max : 387
5757
58- # Offense count: 35
58+ # Offense count: 33
5959# Configuration parameters: AllowedMethods, AllowedPatterns.
6060Metrics/CyclomaticComplexity :
6161 Max : 33
6262
63- # Offense count: 82
63+ # Offense count: 80
6464# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
6565Metrics/MethodLength :
6666 Max : 108
6767
68- # Offense count: 27
68+ # Offense count: 26
6969# Configuration parameters: AllowedMethods, AllowedPatterns.
7070Metrics/PerceivedComplexity :
7171 Max : 31
7272
73- # Offense count: 1
74- Naming/AccessorMethodName :
75- Exclude :
76- - ' lib/puppet-lint/plugins/check_unsafe_interpolations/check_unsafe_interpolations.rb'
77-
78- # Offense count: 186
73+ # Offense count: 182
7974# Configuration parameters: ForbiddenDelimiters.
8075# ForbiddenDelimiters: (?i-mx:(^|\s)(EO[A-Z]{1}|END)(\s|$))
8176Naming/HeredocDelimiterNaming :
@@ -97,13 +92,13 @@ Performance/CollectionLiteralInLoop:
9792 - ' lib/puppet-lint/plugins/check_resources/ensure_first_param.rb'
9893 - ' lib/puppet-lint/plugins/check_whitespace/trailing_whitespace.rb'
9994
100- # Offense count: 417
95+ # Offense count: 406
10196# Configuration parameters: Prefixes, AllowedPatterns.
10297# Prefixes: when, with, without
10398RSpec/ContextWording :
10499 Enabled : false
105100
106- # Offense count: 42
101+ # Offense count: 41
107102# Configuration parameters: IgnoredMetadata.
108103RSpec/DescribeClass :
109104 Enabled : false
@@ -127,7 +122,7 @@ RSpec/FilePath:
127122 - ' spec/unit/puppet-lint/lexer_spec.rb'
128123 - ' spec/unit/puppet-lint/puppet-lint_spec.rb'
129124
130- # Offense count: 139
125+ # Offense count: 138
131126RSpec/MultipleExpectations :
132127 Max : 137
133128
@@ -141,21 +136,14 @@ RSpec/MultipleMemoizedHelpers:
141136RSpec/NestedGroups :
142137 Max : 5
143138
144- # Offense count: 10
139+ # Offense count: 8
145140RSpec/RepeatedExampleGroupDescription :
146141 Exclude :
147142 - ' spec/unit/puppet-lint/plugins/check_resources/file_mode_spec.rb'
148143 - ' spec/unit/puppet-lint/plugins/check_resources/unquoted_file_mode_spec.rb'
149- - ' spec/unit/puppet-lint/plugins/check_unsafe_interpolations/check_unsafe_interpolations_spec.rb'
150144 - ' spec/unit/puppet-lint/plugins/legacy_facts/legacy_facts_spec.rb'
151145
152- # Offense count: 1
153- # This cop supports unsafe autocorrection (--autocorrect-all).
154- Style/ConcatArrayLiterals :
155- Exclude :
156- - ' lib/puppet-lint/plugins/check_unsafe_interpolations/check_unsafe_interpolations.rb'
157-
158- # Offense count: 108
146+ # Offense count: 106
159147# This cop supports unsafe autocorrection (--autocorrect-all).
160148# Configuration parameters: EnforcedStyle.
161149# SupportedStyles: always, always_true, never
0 commit comments