-
Notifications
You must be signed in to change notification settings - Fork 52
/
.rubocop_todo.yml
104 lines (90 loc) · 3.53 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
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2021-01-06 19:35:39 UTC using RuboCop version 1.7.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: 1
# Configuration parameters: Include.
# Include: **/*.gemspec
Gemspec/RequiredRubyVersion:
Exclude:
- 'mercadopago.gemspec'
# Offense count: 8
Style/SelfAssignment:
Exclude:
- 'lib/mercadopago/core/mp_base.rb'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods.
Lint/UnusedMethodArgument:
Exclude:
- 'lib/mercadopago/resources/disbursement_refund.rb'
# Offense count: 36
Lint/UselessAssignment:
Exclude:
- 'examples/instant-payment-notifications/receive-ipn.rb'
- 'lib/mercadopago/core/mp_base.rb'
- 'lib/mercadopago/http/http_client.rb'
- 'lib/mercadopago/resources/advanced_payment.rb'
- 'lib/mercadopago/resources/disbursement_refund.rb'
- 'tests/test_card.rb'
- 'tests/test_card_token.rb'
# Offense count: 2
# Configuration parameters: IgnoredMethods, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 25
# Offense count: 15
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
Metrics/MethodLength:
Max: 69
# Offense count: 3
# Configuration parameters: CountKeywordArgs, MaxOptionalParameters.
Metrics/ParameterLists:
Max: 7
# Offense count: 1
Naming/AccessorMethodName:
Exclude:
- 'lib/mercadopago/config/request_options.rb'
# Offense count: 6
# Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, Regex, IgnoreExecutableScripts, AllowedAcronyms.
# 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:
- 'examples/instant-payment-notifications/receive-ipn.rb'
- 'examples/payment-search/search-approved-payments.rb'
- 'examples/payment-search/search-creditcard-payments.rb'
- 'examples/payment-search/search-funded-payments-by-name.rb'
- 'examples/payment-search/search-payments-from-email-and-date.rb'
- 'examples/payment-search/search-payments.rb'
# Offense count: 23
# Configuration parameters: EnforcedStyle.
# SupportedStyles: snake_case, camelCase
Naming/VariableName:
Exclude:
- 'examples/checkout-buttons/basic_preference/button.rb'
- 'examples/payment-search/search-approved-payments.rb'
- 'examples/payment-search/search-creditcard-payments.rb'
- 'examples/payment-search/search-funded-payments-by-name.rb'
- 'examples/payment-search/search-payments-from-email-and-date.rb'
- 'examples/payment-search/search-payments.rb'
- 'examples/preapproval-payments/button.rb'
- 'lib/mercadopago/config/config.rb'
# Offense count: 7
Style/ClassVars:
Exclude:
- 'lib/mercadopago/config/config.rb'
# Offense count: 32
Style/Documentation:
Enabled: false
# Offense count: 2
Style/IdenticalConditionalBranches:
Exclude:
- 'examples/instant-payment-notifications/receive-ipn.rb'
# Offense count: 12
# Cop supports --auto-correct.
# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Layout/LineLength:
Max: 151