1
1
# This configuration was generated by
2
2
# `rubocop --auto-gen-config`
3
- # on 2023-04-21 08:55:52 UTC using RuboCop version 1.48.1.
3
+ # on 2023-04-24 08:52:31 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
@@ -139,12 +139,12 @@ Lint/SuppressedException:
139
139
- ' lib/puppet/parser/functions/getvar.rb'
140
140
- ' lib/puppet/parser/functions/has_interface_with.rb'
141
141
142
- # Offense count: 6
142
+ # Offense count: 7
143
143
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
144
144
Metrics/AbcSize :
145
145
Max : 44
146
146
147
- # Offense count: 21
147
+ # Offense count: 22
148
148
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode.
149
149
# AllowedMethods: refine
150
150
Metrics/BlockLength :
@@ -205,6 +205,12 @@ Naming/VariableNumber:
205
205
Exclude :
206
206
- ' spec/functions/delete_undef_values_spec.rb'
207
207
208
+ # Offense count: 2
209
+ # Configuration parameters: MinSize.
210
+ Performance/CollectionLiteralInLoop :
211
+ Exclude :
212
+ - ' lib/puppet/functions/ensure_packages.rb'
213
+
208
214
# Offense count: 1
209
215
# This cop supports unsafe autocorrection (--autocorrect-all).
210
216
Performance/MapCompact :
@@ -251,7 +257,7 @@ RSpec/ClassCheck:
251
257
Exclude :
252
258
- ' spec/functions/type_of_spec.rb'
253
259
254
- # Offense count: 36
260
+ # Offense count: 38
255
261
# Configuration parameters: Prefixes, AllowedPatterns.
256
262
# Prefixes: when, with, without
257
263
RSpec/ContextWording :
@@ -353,7 +359,7 @@ RSpec/MatchArray:
353
359
- ' spec/functions/keys_spec.rb'
354
360
- ' spec/functions/values_spec.rb'
355
361
356
- # Offense count: 77
362
+ # Offense count: 78
357
363
RSpec/MultipleExpectations :
358
364
Max : 5
359
365
@@ -362,13 +368,13 @@ RSpec/MultipleExpectations:
362
368
RSpec/MultipleMemoizedHelpers :
363
369
Max : 9
364
370
365
- # Offense count: 60
371
+ # Offense count: 64
366
372
# Configuration parameters: EnforcedStyle, IgnoreSharedExamples.
367
373
# SupportedStyles: always, named_only
368
374
RSpec/NamedSubject :
369
375
Enabled : false
370
376
371
- # Offense count: 25
377
+ # Offense count: 27
372
378
# Configuration parameters: AllowedGroups.
373
379
RSpec/NestedGroups :
374
380
Max : 4
@@ -469,7 +475,7 @@ Style/FileWrite:
469
475
- ' spec/unit/puppet/provider/file_line/ruby_spec_alter.rb'
470
476
- ' spec/unit/puppet/provider/file_line/ruby_spec_use_cases.rb'
471
477
472
- # Offense count: 3
478
+ # Offense count: 5
473
479
# This cop supports unsafe autocorrection (--autocorrect-all).
474
480
# Configuration parameters: EnforcedStyle.
475
481
# SupportedStyles: always, always_true, never
@@ -478,6 +484,8 @@ Style/FrozenStringLiteralComment:
478
484
- ' lib/puppet_x/stdlib.rb'
479
485
- ' lib/puppet_x/stdlib/toml_dumper.rb'
480
486
- ' spec/functions/stdlib_deferrable_epp_spec.rb'
487
+ - ' spec/type_aliases/http__method_spec.rb'
488
+ - ' spec/type_aliases/http__status_spec.rb'
481
489
482
490
# Offense count: 4
483
491
# This cop supports safe autocorrection (--autocorrect).
@@ -495,7 +503,7 @@ Style/HashTransformKeys:
495
503
Exclude :
496
504
- ' lib/puppet/functions/to_json_pretty.rb'
497
505
498
- # Offense count: 156
506
+ # Offense count: 155
499
507
# This cop supports safe autocorrection (--autocorrect).
500
508
Style/IfUnlessModifier :
501
509
Enabled : false
0 commit comments