2017-07-30 17:05:57 +02:00
|
|
|
build:
|
2021-04-22 12:15:08 +02:00
|
|
|
maxIssues: 0
|
2017-07-30 17:05:57 +02:00
|
|
|
weights:
|
|
|
|
complexity: 2
|
|
|
|
formatting: 1
|
|
|
|
LongParameterList: 1
|
|
|
|
comments: 1
|
|
|
|
|
|
|
|
potential-bugs:
|
|
|
|
active: true
|
|
|
|
DuplicateCaseInWhenExpression:
|
|
|
|
active: true
|
|
|
|
EqualsWithHashCodeExist:
|
|
|
|
active: true
|
|
|
|
ExplicitGarbageCollectionCall:
|
|
|
|
active: true
|
|
|
|
LateinitUsage:
|
|
|
|
active: false
|
|
|
|
UnsafeCallOnNullableType:
|
|
|
|
active: false
|
|
|
|
UnsafeCast:
|
|
|
|
active: false
|
|
|
|
|
|
|
|
performance:
|
|
|
|
active: true
|
|
|
|
ForEachOnRange:
|
|
|
|
active: true
|
|
|
|
SpreadOperator:
|
|
|
|
active: true
|
|
|
|
|
|
|
|
exceptions:
|
|
|
|
active: true
|
|
|
|
|
|
|
|
empty-blocks:
|
|
|
|
active: true
|
|
|
|
|
|
|
|
complexity:
|
|
|
|
active: true
|
|
|
|
LongMethod:
|
|
|
|
threshold: 20
|
|
|
|
LongParameterList:
|
2021-04-22 20:51:12 +02:00
|
|
|
functionThreshold: 5
|
|
|
|
constructorThreshold: 5
|
2017-07-30 17:05:57 +02:00
|
|
|
LargeClass:
|
|
|
|
threshold: 150
|
|
|
|
ComplexMethod:
|
|
|
|
threshold: 10
|
|
|
|
TooManyFunctions:
|
2021-04-22 20:51:12 +02:00
|
|
|
thresholdInFiles: 20
|
|
|
|
thresholdInClasses: 20
|
|
|
|
thresholdInInterfaces: 20
|
2017-07-30 17:05:57 +02:00
|
|
|
LabeledExpression:
|
|
|
|
active: false
|
|
|
|
|
|
|
|
|
|
|
|
formatting:
|
2021-04-22 20:51:12 +02:00
|
|
|
autoCorrect: true
|
2017-07-30 17:05:57 +02:00
|
|
|
active: false
|
|
|
|
|
|
|
|
style:
|
|
|
|
active: true
|
|
|
|
NewLineAtEndOfFile:
|
|
|
|
active: true
|
|
|
|
ForbiddenComment:
|
|
|
|
active: true
|
2021-04-22 10:27:55 +02:00
|
|
|
values: 'FIXME:,STOPSHIP:'
|
2017-07-30 17:05:57 +02:00
|
|
|
WildcardImport:
|
|
|
|
active: true
|
|
|
|
MaxLineLength:
|
|
|
|
active: true
|
|
|
|
maxLineLength: 120
|
|
|
|
excludePackageStatements: false
|
|
|
|
excludeImportStatements: false
|
|
|
|
|
|
|
|
comments:
|
|
|
|
active: true
|
2021-04-22 20:51:12 +02:00
|
|
|
CommentOverPrivateFunction:
|
2017-07-30 17:05:57 +02:00
|
|
|
active: true
|
|
|
|
CommentOverPrivateProperty:
|
|
|
|
active: true
|
|
|
|
UndocumentedPublicClass:
|
|
|
|
active: false
|
|
|
|
searchInNestedClass: true
|
|
|
|
searchInInnerClass: true
|
|
|
|
searchInInnerInterface: true
|
|
|
|
UndocumentedPublicFunction:
|
|
|
|
active: false
|