-
Notifications
You must be signed in to change notification settings - Fork 1
/
detekt.yml
42 lines (35 loc) · 921 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
42
# https://detekt.github.io/detekt/configurations.html
# https://github.com/detekt/detekt/blob/main/detekt-core/src/main/resources/default-detekt-config.yml
# https://github.com/detekt/detekt/blob/main/detekt-formatting/src/main/resources/config/config.yml
config:
validation: true
warningsAsErrors: false
checkExhaustiveness: false
output-reports:
active: true
exclude:
- 'TxtOutputReport'
- 'XmlOutputReport'
- 'HtmlOutputReport'
- 'MdOutputReport'
console-reports:
active: true
exclude: [ ]
exceptions:
TooGenericExceptionCaught:
active: false
complexity:
LongParameterList:
ignoreDefaultParameters: true
TooManyFunctions:
ignoreDeprecated: true
ignoreOverridden: true
style:
LoopWithTooManyJumpStatements:
maxJumpCount: 2
MaxLineLength:
maxLineLength: 100
naming:
NoNameShadowing:
# False positives with SAM receiver usage
active: false