1
1
# This configuration was generated by
2
2
# `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.
4
4
# The point is for the user to remove these configuration records
5
5
# one by one as the offenses are removed from the code base.
6
6
# Note that changes in the inspected code, or installation of new
@@ -34,12 +34,12 @@ Lint/MissingCopEnableDirective:
34
34
- ' lib/puppet-lint/tasks/puppet-lint.rb'
35
35
- ' spec/unit/puppet-lint/puppet-lint_spec.rb'
36
36
37
- # Offense count: 60
37
+ # Offense count: 58
38
38
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
39
39
Metrics/AbcSize :
40
40
Max : 142
41
41
42
- # Offense count: 36
42
+ # Offense count: 34
43
43
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode.
44
44
# AllowedMethods: refine
45
45
Metrics/BlockLength :
@@ -55,27 +55,22 @@ Metrics/BlockNesting:
55
55
Metrics/ClassLength :
56
56
Max : 387
57
57
58
- # Offense count: 35
58
+ # Offense count: 33
59
59
# Configuration parameters: AllowedMethods, AllowedPatterns.
60
60
Metrics/CyclomaticComplexity :
61
61
Max : 33
62
62
63
- # Offense count: 82
63
+ # Offense count: 80
64
64
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
65
65
Metrics/MethodLength :
66
66
Max : 108
67
67
68
- # Offense count: 27
68
+ # Offense count: 26
69
69
# Configuration parameters: AllowedMethods, AllowedPatterns.
70
70
Metrics/PerceivedComplexity :
71
71
Max : 31
72
72
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
79
74
# Configuration parameters: ForbiddenDelimiters.
80
75
# ForbiddenDelimiters: (?i-mx:(^|\s)(EO[A-Z]{1}|END)(\s|$))
81
76
Naming/HeredocDelimiterNaming :
@@ -97,13 +92,13 @@ Performance/CollectionLiteralInLoop:
97
92
- ' lib/puppet-lint/plugins/check_resources/ensure_first_param.rb'
98
93
- ' lib/puppet-lint/plugins/check_whitespace/trailing_whitespace.rb'
99
94
100
- # Offense count: 417
95
+ # Offense count: 406
101
96
# Configuration parameters: Prefixes, AllowedPatterns.
102
97
# Prefixes: when, with, without
103
98
RSpec/ContextWording :
104
99
Enabled : false
105
100
106
- # Offense count: 42
101
+ # Offense count: 41
107
102
# Configuration parameters: IgnoredMetadata.
108
103
RSpec/DescribeClass :
109
104
Enabled : false
@@ -127,7 +122,7 @@ RSpec/FilePath:
127
122
- ' spec/unit/puppet-lint/lexer_spec.rb'
128
123
- ' spec/unit/puppet-lint/puppet-lint_spec.rb'
129
124
130
- # Offense count: 139
125
+ # Offense count: 138
131
126
RSpec/MultipleExpectations :
132
127
Max : 137
133
128
@@ -141,21 +136,14 @@ RSpec/MultipleMemoizedHelpers:
141
136
RSpec/NestedGroups :
142
137
Max : 5
143
138
144
- # Offense count: 10
139
+ # Offense count: 8
145
140
RSpec/RepeatedExampleGroupDescription :
146
141
Exclude :
147
142
- ' spec/unit/puppet-lint/plugins/check_resources/file_mode_spec.rb'
148
143
- ' 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'
150
144
- ' spec/unit/puppet-lint/plugins/legacy_facts/legacy_facts_spec.rb'
151
145
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
159
147
# This cop supports unsafe autocorrection (--autocorrect-all).
160
148
# Configuration parameters: EnforcedStyle.
161
149
# SupportedStyles: always, always_true, never
0 commit comments