-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathdetekt-config.yml
More file actions
39 lines (39 loc) · 842 Bytes
/
Copy pathdetekt-config.yml
File metadata and controls
39 lines (39 loc) · 842 Bytes
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
build:
maxIssues: 30
weights:
LongParameterList: 0
comments: 0
complexity:
ComplexCondition:
threshold: 5
TooManyFunctions:
ignorePrivate: true
thresholdInFiles: 20
LongParameterList:
active: false
exceptions:
TooGenericExceptionCaught:
active: false
style:
ThrowsCount:
max: 5
excludeGuardClauses: true
ReturnCount:
max: 5
excludeGuardClauses: true
ForbiddenComment:
active: false # allow usage of "TODO" comments
MaxLineLength:
excludes: ['**/test/**']
active: true
maxLineLength: 120
excludePackageStatements: true
excludeImportStatements: true
excludeCommentStatements: false
excludeRawStrings: true
MagicNumber:
ignorePropertyDeclaration: true
ignoreAnnotation: true
ignoreEnums: true
ignoreRanges: true
# active: false