11# This configuration was generated by
22# `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 .
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
@@ -14,7 +14,7 @@ Gemspec/RequireMFA:
1414 Exclude :
1515 - ' puppet-strings.gemspec'
1616
17- # Offense count: 45
17+ # Offense count: 44
1818# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
1919Metrics/AbcSize :
2020 Max : 95
@@ -25,17 +25,12 @@ Metrics/AbcSize:
2525Metrics/BlockLength :
2626 Max : 44
2727
28- # Offense count: 1
29- # Configuration parameters: CountBlocks.
30- Metrics/BlockNesting :
31- Max : 4
32-
3328# Offense count: 5
3429# Configuration parameters: CountComments, CountAsOne.
3530Metrics/ClassLength :
3631 Max : 283
3732
38- # Offense count: 34
33+ # Offense count: 33
3934# Configuration parameters: AllowedMethods, AllowedPatterns.
4035Metrics/CyclomaticComplexity :
4136 Max : 36
@@ -68,6 +63,7 @@ Naming/AccessorMethodName:
6863# 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
6964Naming/FileName :
7065 Exclude :
66+ - ' Rakefile.rb'
7167 - ' lib/puppet-strings.rb'
7268
7369# Offense count: 1
@@ -85,12 +81,14 @@ Naming/MethodParameterName:
8581 - ' lib/puppet-strings/yard/handlers/ruby/data_type_handler.rb'
8682 - ' lib/puppet-strings/yard/parsers/puppet/parser.rb'
8783
88- # Offense count: 2
84+ # Offense count: 4
8985# Configuration parameters: MinSize.
9086Performance/CollectionLiteralInLoop :
9187 Exclude :
88+ - ' lib/puppet-strings/yard/handlers/puppet/base.rb'
9289 - ' lib/puppet-strings/yard/handlers/ruby/provider_handler.rb'
9390 - ' lib/puppet-strings/yard/handlers/ruby/rsapi_handler.rb'
91+ - ' lib/puppet-strings/yard/util.rb'
9492
9593# Offense count: 1
9694RSpec/BeforeAfterAll :
@@ -123,7 +121,7 @@ RSpec/DescribeClass:
123121 - ' spec/acceptance/generate_markdown_spec.rb'
124122 - ' spec/acceptance/running_strings_generate_spec.rb'
125123
126- # Offense count: 48
124+ # Offense count: 51
127125# Configuration parameters: CountAsOne.
128126RSpec/ExampleLength :
129127 Max : 66
@@ -159,6 +157,7 @@ Style/ClassVars:
159157 - ' lib/puppet-strings/yard/templates/default/layout/html/setup.rb'
160158
161159# Offense count: 3
160+ # This cop supports unsafe autocorrection (--autocorrect-all).
162161Style/CombinableLoops :
163162 Exclude :
164163 - ' lib/puppet-strings/markdown.rb'
@@ -187,3 +186,12 @@ Style/OptionalBooleanParameter:
187186 - ' lib/puppet-strings/yard/code_objects/type.rb'
188187 - ' lib/puppet-strings/yard/handlers/ruby/data_type_handler.rb'
189188 - ' 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