forked from 18F/identity-idp
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.reek
136 lines (136 loc) · 3.43 KB
/
.reek
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
136
Attribute:
enabled: false
DuplicateMethodCall:
exclude:
- MfaConfirmationController#handle_invalid_password
- needs_to_confirm_email_change?
- Remote#command
- Remote#extract_trailing_options
- Remote#parse_positional_arguments
- WorkerHealthChecker#status
FeatureEnvy:
exclude:
- track_registration
- append_info_to_payload
- generate_slo_request
- reauthn?
- mark_profile_inactive
- EncryptedSidekiqRedis#zrem
IrresponsibleModule:
enabled: false
ManualDispatch:
exclude:
- EncryptedSidekiqRedis#respond_to_missing?
NestedIterators:
exclude:
- Remote#build_parser
NilCheck:
exclude:
- AdminConstraint#user_is_admin?
- PasswordsController#edit
- PasswordsController#mark_profile_inactive
- PasswordResetTokenValidator#result
- PhoneConfirmationFlow
- RegisterUserEmailForm#result
- slo_not_implemented_at_sp?
- in_slo?
- TotpSetupController#new
- TotpSetupController#valid_code?
- user_not_found?
- SamlIdpLogoutConcern#name_id
- User#password_reset_profile
RepeatedConditional:
exclude:
- Users::ResetPasswordsController
- VerifyController
TooManyConstants:
exclude:
- Analytics
TooManyStatements:
max_statements: 6
exclude:
- Users::PhoneConfirmationController
- Remote#build_parser
- Remote#execute
- Remote#extract_trailing_options
- Remote#parse
TooManyMethods:
exclude:
- Users::ConfirmationsController
- ApplicationController
UncommunicativeMethodName:
exclude:
- PhoneConfirmationFlow
- render_401
- SessionDecorator#registration_bullet_1
- ServiceProviderSessionDecorator#registration_bullet_1
UnusedPrivateMethod:
exclude:
- ApplicationController
- ActiveJob::Logging::LogSubscriber
- SamlIdpController
- Users::PhoneConfirmationController
- ssn_is_unique
UtilityFunction:
public_methods_only: true
exclude:
- AnalyticsEventJob#perform
- ApplicationHelper#step_class
- SessionTimeoutWarningHelper#frequency
- SessionTimeoutWarningHelper#start
- SessionTimeoutWarningHelper#warning
- SessionDecorator#registration_heading
- SessionDecorator#registration_bullet_1
- SessionDecorator#new_session_heading
- WorkerHealthChecker::Middleware#call
- UserEncryptedAttributeOverrides#create_fingerprint
- Remote#build_parser
- Remote#command
- Remote#default_config
- Remote#extract_trailing_options
- Remote#host
- Remote#parse_positional_arguments
'app/controllers':
InstanceVariableAssumption:
enabled: false
'spec':
ControlParameter:
exclude:
- complete_idv_session
DuplicateMethodCall:
exclude:
- complete_2fa_confirmation
- complete_idv_profile
- stub_subject
- stub_idv_session
- saml_settings
- sign_up_and_2fa
- raw_xml_response
- sign_in_user
- stub_auth
- stub_sign_in
FeatureEnvy:
enabled: false
NestedIterators:
exclude:
- complete_idv_questions_fail
- complete_idv_questions_ok
- create_sidekiq_queues
NilCheck:
exclude:
- complete_idv_questions_fail
- complete_idv_questions_ok
TooManyInstanceVariables:
enabled: false
TooManyMethods:
enabled: false
TooManyStatements:
enabled: false
UncommunicativeVariableName:
exclude:
- complete_idv_questions_fail
- complete_idv_questions_ok
UtilityFunction:
enabled: false
exclude_paths:
- db/migrate