-
Notifications
You must be signed in to change notification settings - Fork 18
/
detekt.yml
58 lines (53 loc) · 1.36 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
48
49
50
51
52
53
54
55
56
57
58
build:
weights:
empty-blocks: 0
performance: 0
UnusedParameter: 0
comments:
AbsentOrWrongFileLicense:
active: true
licenseTemplateFile: 'buildSrc/src/main/resources/license.template'
licenseTemplateIsRegex: true
KDocReferencesNonPublicProperty:
active: true
excludes: ['**/test/**']
naming:
InvalidPackageDeclaration:
active: true
rootPackage: 'de.fraunhofer.aisec.codyze'
requireRootInDeclaration: true
performance:
CouldBeSequence:
active: true
threshold: 3
style:
ForbiddenComment:
active: false
ForbiddenMethodCall:
active: true
methods:
- reason: 'print does not allow you to configure the output stream. Use a logger instead.'
value: 'kotlin.io.print'
- reason: 'println does not allow you to configure the output stream. Use a logger instead.'
value: 'kotlin.io.println'
WildcardImport:
active: false
formatting:
FunctionStartOfBodySpacing:
active: false
FunctionTypeReferenceSpacing:
active: false
MaximumLineLength:
active: true
maxLineLength: 120
ignoreBackTickedIdentifier: true
ModifierListSpacing:
active: false
NoWildcardImports:
active: false
NullableTypeSpacing:
active: false
SpacingAroundUnaryOperator:
active: true
excludes: ['**/coko/**/test/**', '**/codyze-backends/cpg/**/test/**']
autoCorrect: true