1
1
# This configuration was generated by
2
2
# `rubocop --auto-gen-config`
3
- # on 2024-02 -09 08 :47:26 UTC using RuboCop version 1.50.2 .
3
+ # on 2024-06 -09 12 :47:09 UTC using RuboCop version 1.63.5 .
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
7
7
# versions of RuboCop, may require this file to be generated again.
8
8
9
9
# Offense count: 1
10
10
# This cop supports safe autocorrection (--autocorrect).
11
- # Configuration parameters: Severity, Include.
12
- # Include: **/*.gemspec
13
- Gemspec/RequireMFA :
11
+ # Configuration parameters: Width, AllowedPatterns.
12
+ Layout/IndentationWidth :
14
13
Exclude :
15
- - ' puppetlabs_spec_helper.gemspec'
16
-
17
- # Offense count: 5
18
- # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
19
- Metrics/AbcSize :
20
- Max : 60
21
-
22
- # Offense count: 3
23
- # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode.
24
- # AllowedMethods: refine
25
- Metrics/BlockLength :
26
- Max : 33
27
-
28
- # Offense count: 4
29
- # Configuration parameters: AllowedMethods, AllowedPatterns.
30
- Metrics/CyclomaticComplexity :
31
- Max : 19
32
-
33
- # Offense count: 11
34
- # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
35
- Metrics/MethodLength :
36
- Max : 65
14
+ - ' Rakefile'
37
15
38
16
# Offense count: 1
39
- # Configuration parameters: CountComments, CountAsOne.
40
- Metrics/ModuleLength :
41
- Max : 277
17
+ Lint/MixedRegexpCaptureTypes :
18
+ Exclude :
19
+ - ' Gemfile '
42
20
43
- # Offense count: 3
44
- # Configuration parameters: CountKeywordArgs.
45
- Metrics/ParameterLists :
46
- MaxOptionalParameters : 4
47
- Max : 7
21
+ # Offense count: 1
22
+ # This cop supports safe autocorrection (--autocorrect).
23
+ # Configuration parameters: EnforcedStyle.
24
+ # SupportedStyles: strict, consistent
25
+ Lint/SymbolConversion :
26
+ Exclude :
27
+ - ' lib/puppetlabs_spec_helper/puppetlabs_spec/puppet_internals.rb'
48
28
49
- # Offense count: 3
50
- # Configuration parameters: AllowedMethods, AllowedPatterns.
51
- Metrics/PerceivedComplexity :
52
- Max : 22
29
+ # Offense count: 7
30
+ # Configuration parameters: Prefixes, AllowedPatterns.
31
+ # Prefixes: when, with, without
32
+ RSpec/ContextWording :
33
+ Exclude :
34
+ - ' spec/unit/puppetlabs_spec_helper/tasks/fixtures_spec.rb'
53
35
54
36
# Offense count: 1
55
37
# Configuration parameters: IgnoredMetadata.
@@ -62,42 +44,74 @@ RSpec/DescribeClass:
62
44
- ' **/spec/views/**/*'
63
45
- ' spec/acceptance/smoke_spec.rb'
64
46
65
- # Offense count: 6
47
+ # Offense count: 12
66
48
# Configuration parameters: CountAsOne.
67
49
RSpec/ExampleLength :
68
50
Max : 13
69
51
70
- # Offense count: 5
52
+ # Offense count: 1
53
+ # Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly.
54
+ # Include: **/*_spec*rb*, **/spec/**/*
55
+ RSpec/FilePath :
56
+ Exclude :
57
+ - ' spec/unit/puppetlabs_spec_helper/tasks/fixtures_spec.rb'
58
+
59
+ # Offense count: 8
60
+ # This cop supports safe autocorrection (--autocorrect).
61
+ # Configuration parameters: EnforcedStyle.
62
+ # SupportedStyles: implicit, each, example
63
+ RSpec/HookArgument :
64
+ Exclude :
65
+ - ' spec/unit/puppetlabs_spec_helper/tasks/fixtures_spec.rb'
66
+
67
+ # Offense count: 7
71
68
# Configuration parameters: .
72
69
# SupportedStyles: have_received, receive
73
70
RSpec/MessageSpies :
74
71
EnforcedStyle : receive
75
72
76
- # Offense count: 5
73
+ # Offense count: 8
77
74
RSpec/MultipleExpectations :
78
75
Max : 3
79
76
80
- # Offense count: 7
77
+ # Offense count: 14
81
78
# Configuration parameters: AllowedGroups.
82
79
RSpec/NestedGroups :
83
80
Max : 5
84
81
85
- # Offense count: 5
82
+ # Offense count: 1
83
+ # Configuration parameters: Include, CustomTransform, IgnoreMethods, IgnoreMetadata.
84
+ # Include: **/*_spec.rb
85
+ RSpec/SpecFilePathFormat :
86
+ Exclude :
87
+ - ' **/spec/routing/**/*'
88
+ - ' spec/unit/puppetlabs_spec_helper/tasks/fixtures_spec.rb'
89
+
90
+ # Offense count: 7
86
91
RSpec/StubbedMock :
87
92
Exclude :
88
93
- ' spec/unit/puppetlabs_spec_helper/puppetlabs_spec/puppet_internals_spec.rb'
89
94
- ' spec/unit/puppetlabs_spec_helper/tasks/fixture_helpers_spec.rb'
95
+ - ' spec/unit/puppetlabs_spec_helper/tasks/fixtures_spec.rb'
90
96
91
97
# Offense count: 2
92
98
Security/Eval :
93
99
Exclude :
94
100
- ' lib/puppetlabs_spec_helper/tasks/fixtures.rb'
95
101
96
102
# Offense count: 1
103
+ # This cop supports unsafe autocorrection (--autocorrect-all).
97
104
Style/CombinableLoops :
98
105
Exclude :
99
106
- ' lib/puppetlabs_spec_helper/tasks/fixtures.rb'
100
107
108
+ # Offense count: 1
109
+ # This cop supports safe autocorrection (--autocorrect).
110
+ # Configuration parameters: AllowedVars.
111
+ Style/FetchEnvVar :
112
+ Exclude :
113
+ - ' Gemfile'
114
+
101
115
# Offense count: 7
102
116
# This cop supports safe autocorrection (--autocorrect).
103
117
# Configuration parameters: MaxUnannotatedPlaceholdersAllowed, AllowedMethods, AllowedPatterns.
@@ -111,16 +125,69 @@ Style/GlobalVars:
111
125
Exclude :
112
126
- ' lib/puppetlabs_spec_helper/puppetlabs_spec/files.rb'
113
127
128
+ # Offense count: 4
129
+ # This cop supports unsafe autocorrection (--autocorrect-all).
130
+ # Configuration parameters: AllowedReceivers.
131
+ # AllowedReceivers: Thread.current
132
+ Style/HashEachMethods :
133
+ Exclude :
134
+ - ' lib/puppetlabs_spec_helper/tasks/fixtures.rb'
135
+
114
136
# Offense count: 1
115
137
Style/MixinUsage :
116
138
Exclude :
117
139
- ' lib/puppetlabs_spec_helper/tasks/fixtures.rb'
118
140
119
- # Offense count: 9
141
+ # Offense count: 2
142
+ # This cop supports safe autocorrection (--autocorrect).
143
+ Style/RedundantRegexpEscape :
144
+ Exclude :
145
+ - ' Gemfile'
146
+
147
+ # Offense count: 3
148
+ # This cop supports safe autocorrection (--autocorrect).
149
+ # Configuration parameters: EnforcedStyle, AllowInnerSlashes.
150
+ # SupportedStyles: slashes, percent_r, mixed
151
+ Style/RegexpLiteral :
152
+ Exclude :
153
+ - ' Gemfile'
154
+ - ' spec/unit/puppetlabs_spec_helper/tasks/fixtures_spec.rb'
155
+
156
+ # Offense count: 2
157
+ # This cop supports safe autocorrection (--autocorrect).
158
+ # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
159
+ # SupportedStyles: single_quotes, double_quotes
160
+ Style/StringLiterals :
161
+ Exclude :
162
+ - ' Rakefile'
163
+
164
+ # Offense count: 2
165
+ # This cop supports safe autocorrection (--autocorrect).
166
+ # Configuration parameters: EnforcedStyle, AllowSafeAssignment.
167
+ # SupportedStyles: require_parentheses, require_no_parentheses, require_parentheses_when_complex
168
+ Style/TernaryParentheses :
169
+ Exclude :
170
+ - ' lib/puppetlabs_spec_helper/tasks/fixtures.rb'
171
+ - ' spec/watchr.rb'
172
+
173
+ # Offense count: 12
120
174
# This cop supports safe autocorrection (--autocorrect).
121
175
# Configuration parameters: EnforcedStyleForMultiline.
122
176
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
123
- Style/TrailingCommaInArguments :
177
+ Style/TrailingCommaInArrayLiteral :
124
178
Exclude :
125
- - ' lib/puppetlabs_spec_helper/tasks/fixtures.rb'
179
+ - ' lib/puppetlabs_spec_helper/module_spec_helper.rb'
180
+ - ' lib/puppetlabs_spec_helper/tasks/check_symlinks.rb'
181
+ - ' spec/spec_helper.rb'
182
+ - ' spec/unit/puppetlabs_spec_helper/tasks/check_symlinks_spec.rb'
183
+ - ' spec/unit/puppetlabs_spec_helper/tasks/check_test_file_spec.rb'
184
+
185
+ # Offense count: 26
186
+ # This cop supports safe autocorrection (--autocorrect).
187
+ # Configuration parameters: EnforcedStyleForMultiline.
188
+ # SupportedStylesForMultiline: comma, consistent_comma, no_comma
189
+ Style/TrailingCommaInHashLiteral :
190
+ Exclude :
191
+ - ' lib/puppetlabs_spec_helper/rake_tasks.rb'
192
+ - ' spec/unit/puppetlabs_spec_helper/tasks/check_symlinks_spec.rb'
126
193
- ' spec/unit/puppetlabs_spec_helper/tasks/fixture_helpers_spec.rb'
0 commit comments