-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathdetekt.yml
48 lines (44 loc) · 1.02 KB
/
detekt.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
naming:
InvalidPackageDeclaration:
# some of our package folders are structured /exchange.dydx.abacus instead of:
# /exchange -> /dydx -> /abacus
# didn't seem worth the potential thrash in PRs to fix (feel free to fix if you feel differently)
active: false
MatchingDeclarationName:
# Affects a lot of the TradingStateMachine+_.kt files
active: false
EnumNaming:
active: false
complexity:
CognitiveComplexMethod:
active: false
ComplexCondition:
active: false
CyclomaticComplexMethod:
active: false
LongParameterList:
active: false
LargeClass:
threshold: 1000 # up from 600
LongMethod:
active: false
TooManyFunctions:
active: false
NestedBlockDepth:
active: false
style:
LoopWithTooManyJumpStatements:
active: false
ReturnCount:
active: false
MaxLineLength:
active: false
UnusedParameter:
active: false
ForbiddenComment:
active: false
MagicNumber:
active: false
empty-blocks:
EmptyDefaultConstructor:
active: false