-
-
Notifications
You must be signed in to change notification settings - Fork 64
/
Copy path.reek.yml
90 lines (77 loc) · 2.85 KB
/
.reek.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
---
detectors:
IrresponsibleModule:
enabled: false
NestedIterators:
exclude:
- Truemail::ConfigurationHelper#configuration_block
- Truemail::Validate::Smtp#not_includes_user_not_found_errors
TooManyStatements:
exclude:
- Truemail::Validate::Smtp::Request#run
- Truemail::Validate::Smtp#run
- Truemail::Validate::Smtp#not_includes_user_not_found_errors?
- Truemail::Validate::Mx#hosts_from_cname_records
- Truemail::Validate::Smtp::Request#initialize
- Truemail::Validate::Smtp::Request::Session#initialize
- Truemail::RSpec::ValidatorHelper::ValidatorFactory#process_validator_params
TooManyInstanceVariables:
exclude:
- Truemail::Configuration
- Truemail::Validate::Smtp::Request
TooManyMethods:
exclude:
- Truemail::Configuration
Attribute:
exclude:
- Truemail::Configuration#whitelist_validation
- Truemail::Configuration#not_rfc_mx_lookup_flow
- Truemail::Configuration#smtp_fail_fast
- Truemail::Configuration#smtp_safe_check
- Truemail::Wrapper#attempts
UtilityFunction:
exclude:
- Truemail::Audit::Base#verifier_domain
- Truemail::Configuration#match_regex?
- Truemail::Configuration#regex_by_method
- Truemail::Dns::Worker#nameserver_port
- Truemail::Log::Serializer::Base#errors
- Truemail::Log::Serializer::ValidatorBase#replace_invalid_chars
- Truemail::Validator#select_validation_type
- Truemail::Validator#constantize
- Truemail::Validate::Base#configuration
- Truemail::Validate::Mx#null_mx?
- Truemail::Validate::Mx#a_record
- Truemail::Validate::Smtp::Request#compose_from
- Truemail::Validate::Smtp::Request::Session#old_net_smtp?
ControlParameter:
exclude:
- Truemail::RspecHelper::GenerateEmail#calculate_email_size
- Truemail::Worker#success
- Truemail#raise_unless
- Truemail::Configuration#raise_unless
- Truemail#determine_configuration
- Truemail::Logger::Builder#raise_unless
FeatureEnvy:
exclude:
- Truemail::Validate::Smtp#not_includes_user_not_found_errors
- Truemail::RspecHelper::GenerateEmail#prepare_user_name
- Truemail::ConfigurationHelper#create_configuration
- Truemail::Log::Serializer::Base#smtp_debug
- Truemail::Log::Serializer::Text#data_composer
- Truemail::Log::Serializer::ValidatorBase#smtp_debug
- Truemail::Log::Serializer::ValidatorText#data_composer
NilCheck:
exclude:
- Truemail::Validator#result_not_changed?
- Truemail::Logger::Builder#validate_logger_output
- Truemail::Validator#run
ManualDispatch:
exclude:
- Truemail::Logger::Builder#validate_logger_instance
TooManyConstants:
exclude:
- Truemail::Configuration
- Truemail::RegexConstant
exclude_paths:
- spec/support/helpers