forked from appsignal/appsignal-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop_todo.yml
95 lines (82 loc) · 2.51 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
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2019-03-12 21:08:54 +0100 using RuboCop version 0.50.0.
# 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: 50
Metrics/AbcSize:
Max: 56
# Offense count: 7
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/BlockLength:
Max: 31
# Offense count: 4
# Configuration parameters: CountComments.
Metrics/ClassLength:
Exclude:
- "lib/appsignal/cli/diagnose.rb"
- "lib/appsignal/cli/install.rb"
- "lib/appsignal/config.rb"
- "lib/appsignal/transaction.rb"
# Offense count: 16
Metrics/CyclomaticComplexity:
Max: 11
# Offense count: 532
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Metrics/LineLength:
Max: 152
# Offense count: 109
# Configuration parameters: CountComments.
Metrics/MethodLength:
Max: 60
# Offense count: 1
# Configuration parameters: CountComments.
Metrics/ModuleLength:
Exclude:
- "lib/appsignal.rb"
# Offense count: 8
Metrics/PerceivedComplexity:
Max: 14
# Offense count: 9
Naming/AccessorMethodName:
Exclude:
- 'lib/appsignal/helpers/instrumentation.rb'
- 'lib/appsignal/transaction.rb'
# Offense count: 4
# Cop supports --auto-correct.
Security/YAMLLoad:
Exclude:
- 'ext/base.rb'
- 'lib/appsignal/config.rb'
- 'lib/appsignal/extension.rb'
- 'lib/appsignal/hooks/sidekiq.rb'
# Offense count: 20
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: prefer_alias, prefer_alias_method
Style/Alias:
Exclude:
- 'lib/appsignal.rb'
- 'lib/appsignal/helpers/instrumentation.rb'
- 'lib/appsignal/hooks/active_support_notifications.rb'
- 'lib/appsignal/hooks/celluloid.rb'
- 'lib/appsignal/hooks/net_http.rb'
- 'lib/appsignal/hooks/puma.rb'
- 'lib/appsignal/hooks/rake.rb'
- 'lib/appsignal/hooks/redis.rb'
- 'lib/appsignal/hooks/unicorn.rb'
- 'lib/appsignal/hooks/webmachine.rb'
- 'lib/appsignal/transaction.rb'
# Offense count: 1
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: nested, compact
Style/ClassAndModuleChildren:
Exclude:
- 'lib/appsignal/integrations/padrino.rb'
# Offense count: 1
Style/DoubleNegation:
Exclude:
- 'lib/appsignal.rb'