forked from JetBrains-Research/astminer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
detekt.yaml
46 lines (40 loc) · 837 Bytes
/
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
complexity:
TooManyFunctions:
thresholdInClasses: 15
thresholdInFiles: 16
ComplexInterface:
threshold: 15
StringLiteralDuplication:
active: false
LabeledExpression:
active: false
exceptions:
TooGenericExceptionCaught:
active: false
style:
ForbiddenComment:
allowedPatterns: 'TODO:'
MagicNumber:
ignorePropertyDeclaration: true
ignoreAnnotation: true
ignoreEnums: true
ignoreNumbers: ['-1', '0', '1', '2', '60', '100', '1000']
excludes: ['**/test/**']
ReturnCount:
max: 5
WildcardImport:
active: false
formatting:
autoCorrect: true
NoConsecutiveBlankLines:
active: true
NoWildcardImports:
active: false
comments:
active: false
output-reports:
active: true
exclude:
- 'TxtOutputReport'
- 'XmlOutputReport'
- 'HtmlOutputReport'