forked from smaugfm/monobudget
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdetekt.yml
41 lines (36 loc) · 869 Bytes
/
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
build:
maxIssues: 0
excludeCorrectable: false
config:
validation: true
warningsAsErrors: true
# when writing own rules with new properties, exclude the property path e.g.: 'my_rule_set,.*>.*>[my_property]'
excludes: ''
exceptions:
SwallowedException:
ignoredExceptionTypes: [ 'YnabRateLimitException' ]
TooGenericExceptionCaught:
active: false
naming:
ConstructorParameterNaming:
active: true
excludes: [ '**/models.kt', '**/models/ynab/Ynab*.kt' ]
EnumNaming:
excludes: [ '**/models/ynab/Ynab*.kt' ]
complexity:
TooManyFunctions:
active: true
ignorePrivate: true
LargeClass:
active: true
excludes: [ '**/MCC.kt' ]
style:
MagicNumber:
active: true
excludes: [ '**/MCC.kt', '**Test.kt' ]
MaxLineLength:
active: true
excludes: [ '**/MCC.kt' ]
ReturnCount:
active: true
max: 3