aboutsummaryrefslogtreecommitdiffstats
path: root/build/hv-collector-analysis/src
diff options
context:
space:
mode:
authorTomasz Pietruszkiewicz <tomasz.pietruszkiewicz@nokia.com>2021-03-25 11:54:14 +0100
committerTomasz Pietruszkiewicz <tomasz.pietruszkiewicz@nokia.com>2021-03-29 07:59:57 +0200
commit4143a769506bd5752e7ce7720c5a8e768b6621a0 (patch)
tree8fba6800521b9801e9aabd3e95996a23b6bb1efa /build/hv-collector-analysis/src
parent2b7128c666045716d946e079e59cba04d4420b33 (diff)
Update all HV-VES dependencies to newest versions
Change-Id: Iba0d2dce0374a3fe44f0b6e3b302b02e782d8d56 Issue-ID: DCAEGEN2-2696 Signed-off-by: Tomasz Pietruszkiewicz <tomasz.pietruszkiewicz@nokia.com>
Diffstat (limited to 'build/hv-collector-analysis/src')
-rw-r--r--build/hv-collector-analysis/src/main/resources/onap-detekt-config.yml113
1 files changed, 46 insertions, 67 deletions
diff --git a/build/hv-collector-analysis/src/main/resources/onap-detekt-config.yml b/build/hv-collector-analysis/src/main/resources/onap-detekt-config.yml
index a5dd275e..baab749a 100644
--- a/build/hv-collector-analysis/src/main/resources/onap-detekt-config.yml
+++ b/build/hv-collector-analysis/src/main/resources/onap-detekt-config.yml
@@ -1,32 +1,12 @@
-autoCorrect: true
-failFast: false
-test-pattern: # Configure exclusions for test sources
- active: true
- patterns: # Test file regexes
- - '.*/test/.*'
- - '.*Test.kt'
- - '.*Spec.kt'
- exclude-rule-sets:
- - 'comments'
- exclude-rules:
- - 'NamingRules'
- - 'WildcardImport'
- - 'MagicNumber'
- - 'MaxLineLength'
- - 'LateinitUsage'
- - 'StringLiteralDuplication'
- - 'SpreadOperator'
- - 'TooManyFunctions'
- - 'ForEachOnRange'
build:
maxIssues: 3
weights:
- # complexity: 2
- # LongParameterList: 1
- # style: 1
- # comments: 1
+ # complexity: 2
+ # LongParameterList: 1
+ # style: 1
+ # comments: 1
processors:
active: true
@@ -94,7 +74,8 @@ complexity:
threshold: 20
LongParameterList:
active: true
- threshold: 6
+ functionThreshold: 6
+ constructorThreshold: 7
ignoreDefaultParameters: false
MethodOverloading:
active: false
@@ -137,7 +118,7 @@ empty-blocks:
active: true
EmptyFunctionBlock:
active: true
- ignoreOverriddenFunctions: false
+ ignoreOverridden: false
EmptyIfBlock:
active: true
EmptyInitBlock:
@@ -180,43 +161,43 @@ exceptions:
TooGenericExceptionCaught:
active: true
exceptionNames:
- - ArrayIndexOutOfBoundsException
- - Error
- - Exception
- - IllegalMonitorStateException
- - NullPointerException
- - IndexOutOfBoundsException
- - RuntimeException
- - Throwable
+ - ArrayIndexOutOfBoundsException
+ - Error
+ - Exception
+ - IllegalMonitorStateException
+ - NullPointerException
+ - IndexOutOfBoundsException
+ - RuntimeException
+ - Throwable
TooGenericExceptionThrown:
active: true
exceptionNames:
- - Error
- - Exception
- - Throwable
- - RuntimeException
+ - Error
+ - Exception
+ - Throwable
+ - RuntimeException
formatting:
active: true
android: false
- autoCorrect: true
+
ChainWrapping:
active: false
- autoCorrect: true
+
CommentSpacing:
active: true
- autoCorrect: true
+
Filename:
active: true
FinalNewline:
active: true
- autoCorrect: true
+
ImportOrdering:
active: true
- autoCorrect: true
+
Indentation:
active: true
- autoCorrect: true
+
indentSize: 4
continuationIndentSize: 4
MaximumLineLength:
@@ -224,67 +205,65 @@ formatting:
maxLineLength: 120
ModifierOrdering:
active: true
- autoCorrect: true
+
NoBlankLineBeforeRbrace:
active: true
- autoCorrect: true
+
NoConsecutiveBlankLines:
active: true
- autoCorrect: true
+
NoEmptyClassBody:
active: true
- autoCorrect: true
- NoItParamInMultilineLambda:
- active: true
+
NoLineBreakAfterElse:
active: true
- autoCorrect: true
+
NoLineBreakBeforeAssignment:
active: true
- autoCorrect: true
+
NoMultipleSpaces:
active: true
- autoCorrect: true
+
NoSemicolons:
active: true
- autoCorrect: true
+
NoTrailingSpaces:
active: true
- autoCorrect: true
+
NoUnitReturn:
active: true
- autoCorrect: true
+
NoUnusedImports:
active: true
- autoCorrect: true
+
NoWildcardImports:
active: true
- autoCorrect: true
+
ParameterListWrapping:
active: false
- autoCorrect: true
+
indentSize: 4
SpacingAroundColon:
active: true
- autoCorrect: true
+
SpacingAroundComma:
active: true
- autoCorrect: true
+
SpacingAroundCurly:
active: true
- autoCorrect: true
+
SpacingAroundKeyword:
active: true
- autoCorrect: true
+
SpacingAroundOperators:
active: true
- autoCorrect: true
+
SpacingAroundRangeOperator:
active: true
- autoCorrect: true
+
StringTemplate:
active: true
- autoCorrect: true
+
naming:
active: true
@@ -311,7 +290,7 @@ naming:
active: false
MemberNameEqualsClassName:
active: false
- ignoreOverriddenFunction: true
+ ignoreOverridden: true
ObjectPropertyNaming:
active: true
propertyPattern: '[A-Za-z][_A-Za-z0-9]*'