11# This configuration was generated by
22# `rubocop --auto-gen-config`
3- # on 2026-02-04 04:17:01 UTC using RuboCop version 1.81.7.
3+ # on 2026-02-04 09:34:48 UTC using RuboCop version 1.81.7.
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
@@ -12,20 +12,6 @@ Gemspec/RequiredRubyVersion:
1212 Exclude :
1313 - ' puppet_docs.gemspec'
1414
15- # Offense count: 1
16- # This cop supports unsafe autocorrection (--autocorrect-all).
17- # Configuration parameters: RequireParenthesesForMethodChains.
18- Lint/AmbiguousRange :
19- Exclude :
20- - ' lib/puppet_docs/auto_redirects.rb'
21-
22- # Offense count: 1
23- # This cop supports unsafe autocorrection (--autocorrect-all).
24- # Configuration parameters: AllowSafeAssignment.
25- Lint/AssignmentInCondition :
26- Exclude :
27- - ' source/_plugins/partial.rb'
28-
2915# Offense count: 4
3016# Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches, IgnoreDuplicateElseBranch.
3117Lint/DuplicateBranch :
@@ -39,12 +25,6 @@ Lint/MixedRegexpCaptureTypes:
3925 Exclude :
4026 - ' source/_plugins/partial.rb'
4127
42- # Offense count: 2
43- # This cop supports unsafe autocorrection (--autocorrect-all).
44- Lint/NonAtomicFileOperation :
45- Exclude :
46- - ' Rakefile'
47-
4828# Offense count: 1
4929# Configuration parameters: AllowComments, AllowNil.
5030Lint/SuppressedException :
@@ -103,32 +83,6 @@ Performance/CollectionLiteralInLoop:
10383 - ' lib/puppet_references/puppet/type.rb'
10484 - ' lib/puppet_references/version_tables/data/pe.rb'
10585
106- # Offense count: 1
107- # This cop supports unsafe autocorrection (--autocorrect-all).
108- # Configuration parameters: SafeMultiline.
109- Performance/DeletePrefix :
110- Exclude :
111- - ' lib/puppet_docs/config.rb'
112-
113- # Offense count: 1
114- # This cop supports unsafe autocorrection (--autocorrect-all).
115- Performance/Detect :
116- Exclude :
117- - ' source/_plugins/markdown_blocks.rb'
118-
119- # Offense count: 2
120- # This cop supports unsafe autocorrection (--autocorrect-all).
121- Performance/MapCompact :
122- Exclude :
123- - ' lib/puppet_docs/config.rb'
124- - ' lib/puppet_docs/versions.rb'
125-
126- # Offense count: 1
127- # This cop supports unsafe autocorrection (--autocorrect-all).
128- Performance/StringInclude :
129- Exclude :
130- - ' lib/puppet_references/version_tables/data/pe.rb'
131-
13286# Offense count: 11
13387# This cop supports safe autocorrection (--autocorrect).
13488Rake/Desc :
@@ -140,71 +94,22 @@ Rake/MethodDefinitionInTask:
14094 Exclude :
14195 - ' Rakefile'
14296
143- # Offense count: 1
144- # This cop supports unsafe autocorrection (--autocorrect-all).
145- # Configuration parameters: EnforcedStyle, EnforcedStyleForClasses, EnforcedStyleForModules.
146- # SupportedStyles: nested, compact
147- # SupportedStylesForClasses: ~, nested, compact
148- # SupportedStylesForModules: ~, nested, compact
149- Style/ClassAndModuleChildren :
150- Exclude :
151- - ' source/_plugins/sitemap_generator.rb'
152-
15397# Offense count: 3
15498Style/ClassVars :
15599 Exclude :
156100 - ' lib/puppet_references/puppet/strings.rb'
157101
158- # Offense count: 1
159- # This cop supports unsafe autocorrection (--autocorrect-all).
160- Style/CombinableLoops :
161- Exclude :
162- - ' lib/puppet_docs/config.rb'
163-
164- # Offense count: 1
165- # This cop supports unsafe autocorrection (--autocorrect-all).
166- Style/CommentedKeyword :
167- Exclude :
168- - ' lib/puppet_references/util.rb'
169-
170102# Offense count: 43
171103# Configuration parameters: AllowedConstants.
172104Style/Documentation :
173105 Enabled : false
174106
175- # Offense count: 57
176- # This cop supports unsafe autocorrection (--autocorrect-all).
177- # Configuration parameters: EnforcedStyle.
178- # SupportedStyles: always, always_true, never
179- Style/FrozenStringLiteralComment :
180- Enabled : false
181-
182107# Offense count: 5
183108# Configuration parameters: AllowedVariables.
184109Style/GlobalVars :
185110 Exclude :
186111 - ' util/bbedit_tools/Markdown_with_kramdown.rb'
187112
188- # Offense count: 3
189- # This cop supports unsafe autocorrection (--autocorrect-all).
190- # Configuration parameters: AllowSplatArgument.
191- Style/HashConversion :
192- Exclude :
193- - ' lib/puppet_references/version_tables/data/agent.rb'
194- - ' lib/puppet_references/version_tables/data/pe.rb'
195-
196- # Offense count: 1
197- # This cop supports unsafe autocorrection (--autocorrect-all).
198- Style/HashTransformKeys :
199- Exclude :
200- - ' lib/puppet_references/util.rb'
201-
202- # Offense count: 1
203- # This cop supports unsafe autocorrection (--autocorrect-all).
204- Style/HashTransformValues :
205- Exclude :
206- - ' lib/puppet_docs/config.rb'
207-
208113# Offense count: 8
209114# This cop supports safe autocorrection (--autocorrect).
210115Style/IfUnlessModifier :
@@ -215,21 +120,6 @@ Style/IfUnlessModifier:
215120 - ' lib/puppet_references/version_tables/data/agent.rb'
216121 - ' lib/puppet_references/version_tables/data/pe.rb'
217122
218- # Offense count: 3
219- # This cop supports unsafe autocorrection (--autocorrect-all).
220- # Configuration parameters: InverseMethods, InverseBlocks.
221- Style/InverseMethods :
222- Exclude :
223- - ' lib/puppet_docs/config.rb'
224- - ' lib/puppet_references/puppet/man.rb'
225- - ' source/_plugins/limited_preview_hook.rb'
226-
227- # Offense count: 1
228- # This cop supports unsafe autocorrection (--autocorrect-all).
229- Style/MinMaxComparison :
230- Exclude :
231- - ' source/_plugins/sitemap_generator.rb'
232-
233123# Offense count: 1
234124Style/MixinUsage :
235125 Exclude :
@@ -255,57 +145,16 @@ Style/OptionalBooleanParameter:
255145 Exclude :
256146 - ' lib/puppet_references/puppet/strings.rb'
257147
258- # Offense count: 1
259- # This cop supports unsafe autocorrection (--autocorrect-all).
260- # Configuration parameters: EnforcedStyle, AllowedCompactTypes.
261- # SupportedStyles: compact, exploded
262- Style/RaiseArgs :
263- Exclude :
264- - ' source/_plugins/partial.rb'
265-
266- # Offense count: 2
267- # This cop supports unsafe autocorrection (--autocorrect-all).
268- Style/RedundantInterpolation :
269- Exclude :
270- - ' Rakefile'
271- - ' lib/puppet_references/puppet/man.rb'
272-
273- # Offense count: 1
274- # This cop supports unsafe autocorrection (--autocorrect-all).
275- Style/RedundantSort :
276- Exclude :
277- - ' lib/puppet_references/version_tables/data/agent.rb'
278-
279- # Offense count: 1
280- # This cop supports unsafe autocorrection (--autocorrect-all).
281- # Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods, MaxChainLength.
282- # AllowedMethods: present?, blank?, presence, try, try!
283- Style/SafeNavigation :
284- Exclude :
285- - ' source/_plugins/partial.rb'
286-
287- # Offense count: 3
288- # This cop supports unsafe autocorrection (--autocorrect-all).
289- Style/SlicingWithRange :
290- Exclude :
291- - ' lib/puppet_docs/auto_redirects.rb'
292- - ' lib/puppet_references/repo.rb'
293- - ' source/_plugins/partial.rb'
294-
295- # Offense count: 1
296- # This cop supports unsafe autocorrection (--autocorrect-all).
297- # Configuration parameters: RequireEnglish.
298- # SupportedStyles: use_perl_names, use_english_names, use_builtin_english_names
299- Style/SpecialGlobalVars :
300- EnforcedStyle : use_perl_names
301-
302- # Offense count: 64
148+ # Offense count: 5
303149# This cop supports unsafe autocorrection (--autocorrect-all).
304150# Configuration parameters: Mode.
305151Style/StringConcatenation :
306- Enabled : false
152+ Exclude :
153+ - ' lib/puppet_references/puppet/functions.rb'
154+ - ' lib/puppet_references/puppet/type_strings.rb'
155+ - ' util/bbedit_tools/Markdown_with_kramdown.rb'
307156
308- # Offense count: 45
157+ # Offense count: 41
309158# This cop supports safe autocorrection (--autocorrect).
310159# Configuration parameters: AllowHeredoc, AllowURI, AllowQualifiedName, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings.
311160# URISchemes: http, https
0 commit comments