-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.reek.yml
48 lines (46 loc) · 1 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
detectors:
IrresponsibleModule:
enabled: false
ControlParameter:
enabled: false
ClassVariable:
exclude:
- ExternalServiceTestHelper::DummyRunner # defines "ran" as a class variable
NilCheck:
enabled: false
UncommunicativeVariableName:
enabled: false
DuplicateMethodCall:
enabled: false
FeatureEnvy:
enabled: false
UtilityFunction:
enabled: false
TooManyStatements:
exclude:
- ExternalService#self.client
- Iter#map_over_date_range
- Iter#take_while_with_index
- Tracing::Rack#call
TooManyMethods:
exclude:
- Book
DataClump:
enabled: false
NestedIterators:
enabled: true
LongParameterList:
exclude:
- DataSourceFibitTest#weight_result
- ExternalService#self.client
- Tracing::ActiveRecord::Subscriber#call
directories:
db/migrate:
FeatureEnvy:
enabled: false
UncommunicativeVariableName:
enabled: false
TooManyStatements:
enabled: false
exclude_paths:
- vendor