-
Notifications
You must be signed in to change notification settings - Fork 375
/
.rubocop_todo.yml
135 lines (124 loc) · 5.9 KB
/
.rubocop_todo.yml
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
# This configuration was generated by
# `rubocop --auto-gen-config --exclude-limit 99999`
# on 2023-10-05 14:04:51 UTC using RuboCop version 1.44.1.
# 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: 9
# Configuration parameters: MaximumRangeSize.
Lint/MissingCopEnableDirective:
Exclude:
- 'Rakefile'
- 'spec/datadog/tracing/contrib/elasticsearch/quantize_spec.rb'
- 'spec/datadog/tracing/contrib/http/request_spec.rb'
- 'spec/datadog/tracing/contrib/mongodb/client_spec.rb'
- 'spec/datadog/tracing/contrib/patchable_spec.rb'
- 'spec/datadog/tracing/contrib/presto/client_spec.rb'
- 'spec/datadog/tracing/contrib/rails/support/middleware.rb'
- 'spec/support/container_helpers.rb'
# Offense count: 7
Lint/MissingSuper:
Exclude:
- 'lib/datadog/core/workers/runtime_metrics.rb'
- 'lib/datadog/profiling/scheduler.rb'
- 'spec/support/faux_transport.rb'
- 'spec/support/spy_transport.rb'
# Offense count: 1
# Configuration parameters: CountBlocks.
Metrics/BlockNesting:
Max: 4
# Offense count: 26
# Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, CheckDefinitionPathHierarchyRoots, Regex, IgnoreExecutableScripts, AllowedAcronyms.
# CheckDefinitionPathHierarchyRoots: lib, spec, test, src
# 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
Naming/FileName:
Exclude:
- 'lib/datadog/single_step_instrument.rb'
- 'lib/datadog/appsec/autoload.rb'
- 'lib/datadog/opentelemetry/api/trace/span.rb'
- 'lib/datadog/opentelemetry/sdk/trace/span.rb'
- 'lib/datadog/profiling/load_native_extension.rb'
- 'lib/datadog/profiling/preload.rb'
- 'lib/datadog/tracing/buffer.rb'
- 'lib/datadog/tracing/context_provider.rb'
- 'lib/datadog/tracing/contrib/aws/service/eventbridge.rb'
- 'lib/datadog/tracing/contrib/aws/services.rb'
- 'lib/datadog/tracing/contrib/hanami/plugin.rb'
- 'lib/datadog/tracing/contrib/mongodb/parsers.rb'
- 'lib/datadog/tracing/contrib/mongodb/subscribers.rb'
- 'lib/datadog/tracing/contrib/rack/header_collection.rb'
- 'lib/datadog/tracing/contrib/rack/middlewares.rb'
- 'lib/datadog/tracing/contrib/rack/request_queue.rb'
- 'lib/datadog/tracing/contrib/rails/auto_instrument_railtie.rb'
- 'lib/datadog/tracing/contrib/rails/middlewares.rb'
- 'lib/datadog/tracing/contrib/rails/railtie.rb'
- 'lib/datadog/tracing/propagation/http.rb'
- 'lib/datadog.rb'
- 'lib/datadog/auto_instrument.rb'
- 'lib/datadog/auto_instrument_base.rb'
- 'lib/datadog/profiling/preload.rb'
- 'lib/datadog/transport/ext.rb'
- 'lib/datadog/version.rb'
# Offense count: 1
RSpec/IteratedExpectation:
Exclude:
- 'spec/datadog/tracing/contrib/rack/integration_test_spec.rb'
# Offense count: 68
# Configuration parameters: EnforcedStyle, IgnoreSharedExamples.
# SupportedStyles: always, named_only
RSpec/NamedSubject:
Exclude:
- 'spec/datadog/tracing/contrib/active_support/notifications/subscription_spec.rb'
- 'spec/datadog/tracing/contrib/ethon/easy_patch_spec.rb'
- 'spec/datadog/tracing/contrib/ethon/multi_patch_spec.rb'
- 'spec/datadog/tracing/contrib/excon/instrumentation_spec.rb'
- 'spec/datadog/tracing/contrib/faraday/middleware_spec.rb'
- 'spec/datadog/tracing/contrib/grape/tracer_spec.rb'
- 'spec/datadog/tracing/contrib/grpc/datadog_interceptor/client_spec.rb'
- 'spec/datadog/tracing/contrib/grpc/datadog_interceptor/server_spec.rb'
- 'spec/datadog/tracing/contrib/grpc/interception_context_spec.rb'
- 'spec/datadog/tracing/contrib/http/patcher_spec.rb'
- 'spec/datadog/tracing/contrib/mongodb/client_spec.rb'
- 'spec/datadog/tracing/contrib/mongodb/regression_issue_1235_spec.rb'
- 'spec/datadog/tracing/contrib/patcher_spec.rb'
- 'spec/datadog/tracing/contrib/rails/cache_spec.rb'
- 'spec/datadog/tracing/contrib/rails/database_spec.rb'
# Offense count: 8
RSpec/RepeatedDescription:
Exclude:
- 'spec/datadog/tracing/contrib/rest_client/request_patch_spec.rb'
# Offense count: 10
RSpec/RepeatedExampleGroupDescription:
Exclude:
- 'spec/datadog/tracing/contrib/grape/tracer_spec.rb'
- 'spec/datadog/tracing/contrib/redis/quantize_spec.rb'
# Offense count: 40
RSpec/ScatteredSetup:
Exclude:
- 'spec/datadog/tracing/benchmark/support/benchmark_helper.rb'
- 'spec/datadog/tracing/contrib/action_cable/instrumentation_spec.rb'
- 'spec/datadog/tracing/contrib/action_cable/patcher_spec.rb'
- 'spec/datadog/tracing/contrib/elasticsearch/transport_spec.rb'
- 'spec/datadog/tracing/contrib/grape/tracer_spec.rb'
- 'spec/datadog/tracing/contrib/http/miniapp_spec.rb'
- 'spec/datadog/tracing/contrib/http/request_spec.rb'
- 'spec/datadog/tracing/contrib/mongodb/regression_issue_1235_spec.rb'
- 'spec/datadog/tracing/contrib/presto/client_spec.rb'
- 'spec/datadog/tracing/contrib/rails/cache_spec.rb'
- 'spec/datadog/tracing/contrib/rails/database_spec.rb'
- 'spec/datadog/tracing/contrib/rails/rails_active_job_spec.rb'
- 'spec/datadog/tracing/contrib/rails/railtie_spec.rb'
- 'spec/datadog/tracing/contrib/rails/redis_cache_spec.rb'
- 'spec/datadog/tracing/contrib/redis/miniapp_spec.rb'
# Offense count: 1
RSpec/UnspecifiedException:
Exclude:
- 'spec/datadog/tracing/contrib/delayed_job/plugin_spec.rb'
# Offense count: 24
Style/ClassVars:
Exclude:
- 'spec/datadog/tracing/contrib/rails/support/rails4.rb'
- 'spec/datadog/tracing/contrib/rails/support/rails5.rb'
- 'spec/datadog/tracing/contrib/rails/support/rails6.rb'
- 'spec/datadog/tracing/contrib/rails/support/rails7.rb'