11# This configuration was generated by
22# `rubocop --auto-gen-config`
3- # on 2024 -06-27 09 :42:06 UTC using RuboCop version 1.64.1 .
3+ # on 2026 -06-26 10 :42:55 UTC using RuboCop version 1.87.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
@@ -18,32 +18,54 @@ Lint/StructNewOverride:
1818 Exclude :
1919 - ' spec/lib/appsignal/probes/sidekiq_spec.rb'
2020
21- # Offense count: 63
21+ # Offense count: 78
2222# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
2323Metrics/AbcSize :
24- Max : 44
24+ Max : 43
2525
26- # Offense count: 6
26+ # Offense count: 4
2727# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
2828# AllowedMethods: refine
2929Metrics/BlockLength :
3030 Max : 31
3131
32- # Offense count: 21
32+ # Offense count: 25
3333# Configuration parameters: AllowedMethods, AllowedPatterns.
3434Metrics/CyclomaticComplexity :
3535 Max : 11
3636
37- # Offense count: 139
37+ # Offense count: 176
3838# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
3939Metrics/MethodLength :
40- Max : 56
40+ Max : 54
4141
42- # Offense count: 18
42+ # Offense count: 20
4343# Configuration parameters: AllowedMethods, AllowedPatterns.
4444Metrics/PerceivedComplexity :
4545 Max : 13
4646
47+ # Offense count: 5
48+ # Configuration parameters: Mode, AllowedMethods, AllowedPatterns, AllowBangMethods, WaywardPredicates.
49+ # AllowedMethods: call
50+ # WaywardPredicates: infinite?, nonzero?
51+ Naming/PredicateMethod :
52+ Exclude :
53+ - ' ext/base.rb'
54+ - ' lib/appsignal/demo.rb'
55+ - ' spec/lib/appsignal/integrations/delayed_job_plugin_spec.rb'
56+ - ' spec/support/testing.rb'
57+
58+ # Offense count: 1
59+ # Configuration parameters: NamePrefix, ForbiddenPrefixes, AllowedMethods, MethodDefinitionMacros, UseSorbetSigs.
60+ # NamePrefix: is_, has_, have_, does_
61+ # ForbiddenPrefixes: is_, has_, have_, does_
62+ # AllowedMethods: is_a?
63+ # MethodDefinitionMacros: define_method, define_singleton_method
64+ Naming/PredicatePrefix :
65+ Exclude :
66+ - ' spec/**/*'
67+ - ' ext/extconf.rb'
68+
4769# Offense count: 2
4870Security/Open :
4971 Exclude :
@@ -56,7 +78,7 @@ Security/YAMLLoad:
5678 - ' lib/appsignal/config.rb'
5779 - ' lib/appsignal/integrations/sidekiq.rb'
5880
59- # Offense count: 7
81+ # Offense count: 22
6082# This cop supports safe autocorrection (--autocorrect).
6183# Configuration parameters: EnforcedStyle.
6284# SupportedStyles: prefer_alias, prefer_alias_method
@@ -70,15 +92,17 @@ Style/ClassVars:
7092 Exclude :
7193 - ' spec/lib/appsignal/event_formatter_spec.rb'
7294
73- # Offense count: 1
74- Style/OpenStructUse :
75- Exclude :
76- - ' lib/appsignal/cli/install.rb'
77-
7895# Offense count: 2
7996# Configuration parameters: AllowedMethods.
8097# AllowedMethods: respond_to_missing?
8198Style/OptionalBooleanParameter :
8299 Exclude :
83100 - ' lib/appsignal/integrations/delayed_job_plugin.rb'
84101 - ' lib/appsignal/utils/query_params_sanitizer.rb'
102+
103+ # Offense count: 1
104+ # This cop supports unsafe autocorrection (--autocorrect-all).
105+ # Configuration parameters: AllowedMethods, AllowedPatterns.
106+ Style/ReturnNilInPredicateMethodDefinition :
107+ Exclude :
108+ - ' spec/support/testing.rb'
0 commit comments