-
Notifications
You must be signed in to change notification settings - Fork 968
/
.rubocop_todo.yml
98 lines (85 loc) · 2.6 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
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2019-03-04 02:27:02 +0900 using RuboCop version 0.65.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: 40
Metrics/AbcSize:
Max: 79
# Offense count: 5
# Configuration parameters: CountComments.
Metrics/ClassLength:
Max: 212
# Offense count: 18
Metrics/CyclomaticComplexity:
Max: 16
# Offense count: 44
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/MethodLength:
Max: 65
# Offense count: 16
Metrics/PerceivedComplexity:
Max: 18
# Offense count: 3
Style/ClassVars:
Exclude:
- 'lib/faraday/rack_builder.rb'
- 'test/helper.rb'
# Offense count: 16
Style/Documentation:
Exclude:
- 'spec/**/*'
- 'test/**/*'
- 'lib/faraday/adapter/em_http.rb'
- 'lib/faraday/autoload.rb'
- 'lib/faraday/dependency_loader.rb'
- 'lib/faraday/encoders/flat_params_encoder.rb'
- 'lib/faraday/middleware.rb'
- 'lib/faraday/options/connection_options.rb'
- 'lib/faraday/options/proxy_options.rb'
- 'lib/faraday/options/request_options.rb'
- 'lib/faraday/request/retry.rb'
- 'lib/faraday/request/token_authentication.rb'
- 'lib/faraday/response.rb'
- 'lib/faraday/response/logger.rb'
- 'lib/faraday/response/raise_error.rb'
- 'lib/faraday/utils.rb'
# Offense count: 2
# Configuration parameters: AllowedVariables.
Style/GlobalVars:
Exclude:
- 'script/generate_certs'
# Offense count: 21
# Configuration parameters: MinBodyLength.
Style/GuardClause:
Exclude:
- 'lib/faraday/adapter/em_http.rb'
- 'lib/faraday/adapter/em_http_ssl_patch.rb'
- 'lib/faraday/adapter/em_synchrony.rb'
- 'lib/faraday/adapter/httpclient.rb'
- 'lib/faraday/adapter/net_http.rb'
- 'lib/faraday/adapter/net_http_persistent.rb'
- 'lib/faraday/adapter/patron.rb'
- 'lib/faraday/connection.rb'
- 'lib/faraday/request/retry.rb'
- 'lib/faraday/request/url_encoded.rb'
- 'lib/faraday/utils/headers.rb'
# Offense count: 1
Style/MethodMissingSuper:
Exclude:
- 'lib/faraday.rb'
# Offense count: 1
Style/MissingRespondToMissing:
Exclude:
- 'lib/faraday.rb'
# Offense count: 1
Style/MultipleComparison:
Exclude:
- 'lib/faraday/encoders/flat_params_encoder.rb'
# Offense count: 287
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Metrics/LineLength:
Max: 213