11# This configuration was generated by
22# `rubocop --auto-gen-config`
3- # on 2024-01-22 15:56:59 UTC using RuboCop version 1.50.2 .
3+ # on 2024-10-25 12:07:22 UTC using RuboCop version 1.67.0 .
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
@@ -26,11 +26,17 @@ Lint/EmptyBlock:
2626 - ' spec/unit/adapters_spec.rb'
2727
2828# Offense count: 3
29+ # Configuration parameters: AllowedParentClasses.
2930Lint/MissingSuper :
3031 Exclude :
3132 - ' lib/rspec-puppet/errors.rb'
3233 - ' lib/rspec-puppet/sensitive.rb'
3334
35+ # Offense count: 1
36+ Lint/MixedRegexpCaptureTypes :
37+ Exclude :
38+ - ' Gemfile'
39+
3440# Offense count: 1
3541Lint/RescueException :
3642 Exclude :
@@ -50,64 +56,11 @@ Lint/SuppressedException:
5056
5157# Offense count: 2
5258# This cop supports safe autocorrection (--autocorrect).
53- # Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods.
59+ # Configuration parameters: AutoCorrect, AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods.
5460Lint/UnusedMethodArgument :
5561 Exclude :
5662 - ' lib/rspec-puppet/support.rb'
5763
58- # Offense count: 5
59- Lint/UselessAssignment :
60- Exclude :
61- - ' lib/rspec-puppet/example/function_example_group.rb'
62- - ' lib/rspec-puppet/matchers/create_generic.rb'
63- - ' lib/rspec-puppet/monkey_patches.rb'
64-
65- # Offense count: 27
66- # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
67- Metrics/AbcSize :
68- Max : 59
69-
70- # Offense count: 7
71- # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode.
72- # AllowedMethods: refine
73- Metrics/BlockLength :
74- Max : 111
75-
76- # Offense count: 1
77- # Configuration parameters: CountBlocks.
78- Metrics/BlockNesting :
79- Max : 4
80-
81- # Offense count: 6
82- # Configuration parameters: CountComments, CountAsOne.
83- Metrics/ClassLength :
84- Max : 297
85-
86- # Offense count: 18
87- # Configuration parameters: AllowedMethods, AllowedPatterns.
88- Metrics/CyclomaticComplexity :
89- Max : 18
90-
91- # Offense count: 47
92- # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
93- Metrics/MethodLength :
94- Max : 53
95-
96- # Offense count: 2
97- # Configuration parameters: CountComments, CountAsOne.
98- Metrics/ModuleLength :
99- Max : 383
100-
101- # Offense count: 2
102- # Configuration parameters: CountKeywordArgs, MaxOptionalParameters.
103- Metrics/ParameterLists :
104- Max : 9
105-
106- # Offense count: 13
107- # Configuration parameters: AllowedMethods, AllowedPatterns.
108- Metrics/PerceivedComplexity :
109- Max : 20
110-
11164# Offense count: 2
11265Naming/AccessorMethodName :
11366 Exclude :
@@ -125,6 +78,7 @@ Naming/ConstantName:
12578# AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
12679Naming/FileName :
12780 Exclude :
81+ - ' Rakefile.rb'
12882 - ' lib/rspec-puppet.rb'
12983 - ' spec/functions/camelCaseFunction_spec.rb'
13084
@@ -138,6 +92,7 @@ Naming/HeredocDelimiterNaming:
13892 - ' spec/unit/matchers/compile_spec.rb'
13993
14094# Offense count: 1
95+ # This cop supports unsafe autocorrection (--autocorrect-all).
14196# Configuration parameters: EnforcedStyleForLeadingUnderscores.
14297# SupportedStylesForLeadingUnderscores: disallowed, required, optional
14398Naming/MemoizedInstanceVariableName :
@@ -232,7 +187,7 @@ RSpec/MultipleDescribes:
232187 - ' spec/unit/example/function_example_group_spec.rb'
233188 - ' spec/unit/monkey_patches_spec.rb'
234189
235- # Offense count: 45
190+ # Offense count: 49
236191RSpec/MultipleExpectations :
237192 Max : 8
238193
@@ -241,7 +196,7 @@ RSpec/MultipleExpectations:
241196RSpec/MultipleMemoizedHelpers :
242197 Max : 7
243198
244- # Offense count: 263
199+ # Offense count: 274
245200# Configuration parameters: EnforcedStyle, IgnoreSharedExamples.
246201# SupportedStyles: always, named_only
247202RSpec/NamedSubject :
@@ -323,6 +278,12 @@ RSpec/VerifiedDoubles:
323278 - ' spec/unit/matchers/allow_value_spec.rb'
324279 - ' spec/unit/sensitive_spec.rb'
325280
281+ # Offense count: 5
282+ # This cop supports safe autocorrection (--autocorrect).
283+ Rake/Desc :
284+ Exclude :
285+ - ' Rakefile'
286+
326287# Offense count: 1
327288# This cop supports safe autocorrection (--autocorrect).
328289# Configuration parameters: AllowOnConstant, AllowOnSelfClass.
@@ -336,6 +297,7 @@ Style/ClassVars:
336297 - ' lib/rspec-puppet/support.rb'
337298
338299# Offense count: 1
300+ # This cop supports unsafe autocorrection (--autocorrect-all).
339301Style/CombinableLoops :
340302 Exclude :
341303 - ' spec/classes/catalogue_cache_spec.rb'
@@ -353,15 +315,13 @@ Style/FormatString:
353315 Exclude :
354316 - ' lib/rspec-puppet/coverage.rb'
355317
356- # Offense count: 14
357- # This cop supports safe autocorrection (--autocorrect).
358- Style/IfUnlessModifier :
318+ # Offense count: 1
319+ # This cop supports unsafe autocorrection (--autocorrect-all).
320+ # Configuration parameters: AllowedReceivers.
321+ # AllowedReceivers: Thread.current
322+ Style/HashEachMethods :
359323 Exclude :
360- - ' lib/rspec-puppet/adapters.rb'
361- - ' lib/rspec-puppet/coverage.rb'
362- - ' lib/rspec-puppet/example/function_example_group.rb'
363- - ' lib/rspec-puppet/matchers/create_generic.rb'
364- - ' lib/rspec-puppet/support.rb'
324+ - ' Rakefile'
365325
366326# Offense count: 5
367327Style/MissingRespondToMissing :
@@ -390,6 +350,14 @@ Style/SlicingWithRange:
390350 Exclude :
391351 - ' lib/rspec-puppet/monkey_patches.rb'
392352
353+ # Offense count: 2
354+ # This cop supports unsafe autocorrection (--autocorrect-all).
355+ # Configuration parameters: RequireEnglish, EnforcedStyle.
356+ # SupportedStyles: use_perl_names, use_english_names, use_builtin_english_names
357+ Style/SpecialGlobalVars :
358+ Exclude :
359+ - ' Rakefile'
360+
393361# Offense count: 2
394362# This cop supports unsafe autocorrection (--autocorrect-all).
395363# Configuration parameters: Mode.
0 commit comments