forked from newrelic/newrelic-ruby-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.rubocop_todo.yml
More file actions
86 lines (79 loc) · 3.71 KB
/
Copy path.rubocop_todo.yml
File metadata and controls
86 lines (79 loc) · 3.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2026-05-21 00:09:21 UTC using RuboCop version 1.81.7.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
# Offense count: 2
Lint/SharedMutableDefault:
Exclude:
- 'lib/new_relic/agent/instrumentation/roda/ignorer.rb'
- 'lib/new_relic/agent/instrumentation/sinatra/ignorer.rb'
# Offense count: 21
Lint/UselessConstantScoping:
Exclude:
- 'infinite_tracing/lib/infinite_tracing/transformer.rb'
- 'lib/new_relic/agent/agent_logger.rb'
- 'lib/new_relic/agent/database.rb'
- 'lib/new_relic/agent/instrumentation/action_cable_subscriber.rb'
- 'lib/new_relic/agent/instrumentation/mongodb_command_subscriber.rb'
- 'lib/new_relic/agent/samplers/delayed_job_sampler.rb'
- 'lib/new_relic/agent/transaction/datastore_segment.rb'
- 'lib/new_relic/agent/transaction/tracing.rb'
- 'lib/new_relic/agent/utilization/vendor.rb'
- 'test/new_relic/agent/distributed_tracing/distributed_tracing_cross_agent_test.rb'
- 'test/new_relic/agent/distributed_tracing/trace_context_cross_agent_test.rb'
- 'test/new_relic/agent/transaction_sampler_test.rb'
- 'test/new_relic/newrelicyml_test.rb'
# Offense count: 585
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 87
# Offense count: 18
# Configuration parameters: Mode, AllowedMethods, AllowedPatterns, AllowBangMethods, WaywardPredicates.
# AllowedMethods: call
# WaywardPredicates: nonzero?
Naming/PredicateMethod:
Exclude:
- 'lib/new_relic/agent/agent_helpers/connect.rb'
- 'lib/new_relic/agent/configuration/server_source.rb'
- 'lib/new_relic/agent/instrumentation/action_controller_subscriber.rb'
- 'lib/new_relic/agent/instrumentation/middleware_tracing.rb'
- 'lib/new_relic/agent/transaction/distributed_tracing.rb'
- 'lib/new_relic/agent/utilization/vendor.rb'
- 'test/multiverse/lib/multiverse/suite.rb'
- 'test/multiverse/suites/agent_only/logging_test.rb'
- 'test/multiverse/suites/rack/rack_builder_test.rb'
- 'test/multiverse/suites/rails/action_controller_other_test.rb'
- 'test/new_relic/agent/instrumentation/middleware_proxy_test.rb'
- 'test/new_relic/agent/method_interrobang_test.rb'
- 'test/new_relic/agent/method_tracer_test.rb'
- 'test/new_relic/agent/transaction_interrobang_test.rb'
# Offense count: 10
# This cop supports unsafe autocorrection (--autocorrect-all).
Style/FileNull:
Exclude:
- 'test/multiverse/suites/config_file_loading/config_file_loading_test.rb'
- 'test/multiverse/suites/sidekiq/sidekiq_test_helpers.rb'
- 'test/multiverse/suites/sidekiq_delay_extensions/sidekiq_delay_extensions_test_helpers.rb'
- 'test/multiverse/suites/sidekiq_ignore_retry_errors_enabled/sidekiq_test_helpers.rb'
- 'test/new_relic/agent/agent_logger_test.rb'
- 'test/new_relic/agent/instrumentation/rails/action_cable_subscriber.rb'
- 'test/new_relic/fake_server.rb'
- 'test/performance/lib/performance/options.rb'
# Offense count: 5
# This cop supports unsafe autocorrection (--autocorrect-all).
Style/MapIntoArray:
Exclude:
- 'Rakefile'
- 'lib/new_relic/agent/database/explain_plan_helpers.rb'
- 'lib/tasks/helpers/format.rb'
# Offense count: 4
# Configuration parameters: Max.
Style/SafeNavigationChainLength:
Exclude:
- 'lib/new_relic/agent/aws.rb'
- 'lib/new_relic/agent/instrumentation/dynamodb/instrumentation.rb'
- 'lib/new_relic/agent/instrumentation/ruby_openai/instrumentation.rb'
- 'lib/new_relic/agent/llm.rb'