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
|
2021-06-07 13:17:00 +02:00
|
|
|
TooGenericExceptionCaught:
|
|
|
|
allowedExceptionNameRegex: '_|(all|ignore|expected).*'
|
2017-07-30 17:05:57 +02:00
|
|
|
|
|
|
|
empty-blocks:
|
|
|
|
active: true
|
2021-06-19 20:42:03 +02:00
|
|
|
EmptyFunctionBlock:
|
|
|
|
active: true
|
|
|
|
ignoreOverridden: true
|
2017-07-30 17:05:57 +02:00
|
|
|
|
|
|
|
complexity:
|
|
|
|
active: true
|
|
|
|
TooManyFunctions:
|
2021-11-30 21:50:53 +01:00
|
|
|
thresholdInFiles: 25
|
|
|
|
thresholdInClasses: 25
|
2021-04-22 20:51:12 +02:00
|
|
|
thresholdInInterfaces: 20
|
2021-06-23 17:30:16 +02:00
|
|
|
thresholdInObjects: 30
|
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
|
2021-05-19 19:24:30 +02:00
|
|
|
MagicNumber:
|
2021-05-21 22:35:22 +02:00
|
|
|
# 100 common in percentage, 1000 in milliseconds
|
2022-04-04 18:18:52 +02:00
|
|
|
ignoreNumbers: ['-1', '0', '1', '2', '5', '10', '100', '256', '512', '1000', '1024', '4096']
|
2021-05-19 19:24:30 +02:00
|
|
|
ignoreEnums: true
|
|
|
|
ignorePropertyDeclaration: true
|
|
|
|
UnnecessaryAbstractClass:
|
|
|
|
active: false
|
2021-05-27 11:18:29 +02:00
|
|
|
ReturnCount:
|
2021-12-12 17:06:11 +01:00
|
|
|
max: 5
|
2017-07-30 17:05:57 +02:00
|
|
|
|
|
|
|
comments:
|
|
|
|
active: true
|
|
|
|
UndocumentedPublicClass:
|
|
|
|
active: false
|
|
|
|
searchInNestedClass: true
|
|
|
|
searchInInnerClass: true
|
|
|
|
searchInInnerInterface: true
|
|
|
|
UndocumentedPublicFunction:
|
|
|
|
active: false
|