1
1
# This configuration was generated by
2
2
# `rubocop --auto-gen-config`
3
- # on 2024-01-22 15:21:03 UTC using RuboCop version 1.50.2 .
3
+ # on 2025-04-09 10:54:46 UTC using RuboCop version 1.70.0 .
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
@@ -14,7 +14,7 @@ Gemspec/RequireMFA:
14
14
Exclude :
15
15
- ' puppet-strings.gemspec'
16
16
17
- # Offense count: 45
17
+ # Offense count: 44
18
18
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
19
19
Metrics/AbcSize :
20
20
Max : 95
@@ -25,17 +25,12 @@ Metrics/AbcSize:
25
25
Metrics/BlockLength :
26
26
Max : 44
27
27
28
- # Offense count: 1
29
- # Configuration parameters: CountBlocks.
30
- Metrics/BlockNesting :
31
- Max : 4
32
-
33
28
# Offense count: 5
34
29
# Configuration parameters: CountComments, CountAsOne.
35
30
Metrics/ClassLength :
36
31
Max : 283
37
32
38
- # Offense count: 34
33
+ # Offense count: 33
39
34
# Configuration parameters: AllowedMethods, AllowedPatterns.
40
35
Metrics/CyclomaticComplexity :
41
36
Max : 36
@@ -68,6 +63,7 @@ Naming/AccessorMethodName:
68
63
# 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
69
64
Naming/FileName :
70
65
Exclude :
66
+ - ' Rakefile.rb'
71
67
- ' lib/puppet-strings.rb'
72
68
73
69
# Offense count: 1
@@ -85,12 +81,14 @@ Naming/MethodParameterName:
85
81
- ' lib/puppet-strings/yard/handlers/ruby/data_type_handler.rb'
86
82
- ' lib/puppet-strings/yard/parsers/puppet/parser.rb'
87
83
88
- # Offense count: 2
84
+ # Offense count: 4
89
85
# Configuration parameters: MinSize.
90
86
Performance/CollectionLiteralInLoop :
91
87
Exclude :
88
+ - ' lib/puppet-strings/yard/handlers/puppet/base.rb'
92
89
- ' lib/puppet-strings/yard/handlers/ruby/provider_handler.rb'
93
90
- ' lib/puppet-strings/yard/handlers/ruby/rsapi_handler.rb'
91
+ - ' lib/puppet-strings/yard/util.rb'
94
92
95
93
# Offense count: 1
96
94
RSpec/BeforeAfterAll :
@@ -123,7 +121,7 @@ RSpec/DescribeClass:
123
121
- ' spec/acceptance/generate_markdown_spec.rb'
124
122
- ' spec/acceptance/running_strings_generate_spec.rb'
125
123
126
- # Offense count: 48
124
+ # Offense count: 51
127
125
# Configuration parameters: CountAsOne.
128
126
RSpec/ExampleLength :
129
127
Max : 66
@@ -159,6 +157,7 @@ Style/ClassVars:
159
157
- ' lib/puppet-strings/yard/templates/default/layout/html/setup.rb'
160
158
161
159
# Offense count: 3
160
+ # This cop supports unsafe autocorrection (--autocorrect-all).
162
161
Style/CombinableLoops :
163
162
Exclude :
164
163
- ' lib/puppet-strings/markdown.rb'
@@ -187,3 +186,12 @@ Style/OptionalBooleanParameter:
187
186
- ' lib/puppet-strings/yard/code_objects/type.rb'
188
187
- ' lib/puppet-strings/yard/handlers/ruby/data_type_handler.rb'
189
188
- ' lib/puppet-strings/yard/handlers/ruby/function_handler.rb'
189
+
190
+ # Offense count: 2
191
+ # This cop supports unsafe autocorrection (--autocorrect-all).
192
+ # Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods, MaxChainLength.
193
+ # AllowedMethods: present?, blank?, presence, try, try!
194
+ Style/SafeNavigation :
195
+ Exclude :
196
+ - ' lib/puppet-strings/yard/handlers/puppet/function_handler.rb'
197
+ - ' lib/puppet-strings/yard/handlers/ruby/function_handler.rb'
0 commit comments