-
Notifications
You must be signed in to change notification settings - Fork 171
/
Copy pathdetekt.yaml
50 lines (45 loc) · 1.52 KB
/
detekt.yaml
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
# See https://github.com/detekt/detekt/blob/master/detekt-core/src/main/resources/default-detekt-config.yml
# for default settings.
build:
excludeCorrectable: false
output-reports:
active: true
exclude:
- 'XmlOutputReport'
- 'SarifOutputReport'
- 'MdOutputReport'
console-reports:
active: true
exclude:
- 'ProjectStatisticsReport'
- 'ComplexityReport'
- 'NotificationReport'
- 'FileBasedFindingsReport'
- 'LiteFindingsReport'
complexity:
LongParameterList:
active: false
style:
ForbiddenImport:
active: true
imports:
- value: 'javax.inject.Inject'
reason: 'To be Guice 7+ compliant, use `jakarta.inject.Inject`'
- value: 'javax.inject.Named'
reason: 'To be Guice 7+ compliant, use `jakarta.inject.Named`'
- value: 'javax.inject.Qualifier'
reason: 'To be Guice 7+ compliant, use `jakarta.inject.Qualifier`'
- value: 'javax.inject.Singleton'
reason: 'To be Guice 7+ compliant, use `jakarta.inject.Singleton`'
- value: 'javax.inject.Provider'
reason: 'To be Guice 7+ compliant, use `com.google.inject.Provider`'
# Until moved to Guice 7, jakarta.inject.Provider causes issues with type overloads in Guice 6
- value: 'jakarta.inject.Provider'
reason: 'To be Guice 6 compliant, use `com.google.inject.Provider`'
excludes:
- '**/wisp/wisp-moshi/src/*/kotlin/wisp/moshi/ProviderJsonAdapter*.kt'
detektive:
active: true
AnnotatePublicApisWithJvmOverloads:
active: true
autoCorrect: true