-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.reek.yml
51 lines (47 loc) · 1.04 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
---
detectors:
IrresponsibleModule:
enabled: false
UncommunicativeModuleName:
enabled: false
MissingSafeMethod:
enabled: false
UnusedParameters:
enabled: false
UncommunicativeVariableName:
enabled: false
UncommunicativeParameterName:
enabled: false
TooManyStatements:
enabled: false
UncommunicativeMethodName:
enabled: false
LongParameterList:
max_params: 4
UtilityFunction:
public_methods_only: true
ControlParameter:
exclude:
- "Paseto::Key#valid_for?"
FeatureEnvy:
exclude:
- "Paseto::V4::Local#decrypt"
DuplicateMethodCall:
exclude:
- "Paseto::Util.constant_compare"
TooManyConstants:
exclude:
- 'Paseto::Verify::Verifiers'
Attribute:
exclude:
- 'Paseto::Configuration'
ManualDispatch:
exclude:
- 'Paseto::Validator::TokenIdentifier#verify'
DataClump:
exclude:
- 'Paseto::Interface'
exclude_paths:
- spec/generate_vectors.rb
- spec/**/test_vectors_spec.rb
- lib/paseto/configuration/decode_configuration.rb