-
-
Notifications
You must be signed in to change notification settings - Fork 785
Expand file tree
/
Copy pathdetekt.yaml
More file actions
31 lines (27 loc) · 626 Bytes
/
detekt.yaml
File metadata and controls
31 lines (27 loc) · 626 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
build:
maxIssues: 0
comments:
# Comments are always appreciated, even for private functions and properties
CommentOverPrivateFunction:
active: false
CommentOverPrivateProperty:
active: false
complexity:
# Some classes, especially repositories, can become big
TooManyFunctions:
thresholdInInterfaces: 15
thresholdInClasses: 15
naming:
InvalidPackageDeclaration:
active: false
FunctionNaming:
ignoreAnnotated:
- Composable
style:
# Allow TODO and FIXME comments
ForbiddenComment:
values: [ 'STOPSHIP:' ]
ReturnCount:
max: 6
MaxLineLength:
maxLineLength: 140