Refactor build scripts for consistency with jellyfin-sdk-kotlin

This commit is contained in:
Niels van Velzen
2021-07-02 11:39:33 +02:00
parent 405069dc98
commit 01db6e195b
9 changed files with 190 additions and 174 deletions

24
detekt.yaml Normal file
View File

@@ -0,0 +1,24 @@
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
style:
# Allow TODO and FIXME comments
ForbiddenComment:
values: [ 'STOPSHIP:' ]
ReturnCount:
max: 6
WildcardImport:
active: false