From 77f896523f2065b1da1be21545155a29edea5122 Mon Sep 17 00:00:00 2001 From: Filip Krzywka Date: Tue, 27 Nov 2018 13:04:48 +0100 Subject: Bump checkstyle version - changed plugin invocation due to backwards incompatible changes made in detekt's RC9 version - disabled few rules that we actually don't follow in our code and we seem to be fine with it - turned on UnusedPrivateMember as it actually is a code smell/debt - supressed warnings in where it was plausible (according to common sense) - fixed warnings wherever possible Change-Id: I7be97f471ff46786ef1fca3432b759e7820ac681 Issue-ID: DCAEGEN2-996 Signed-off-by: Filip Krzywka --- .../src/main/resources/onap-detekt-config.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'hv-collector-analysis') diff --git a/hv-collector-analysis/src/main/resources/onap-detekt-config.yml b/hv-collector-analysis/src/main/resources/onap-detekt-config.yml index 318d48ac..99faaa79 100644 --- a/hv-collector-analysis/src/main/resources/onap-detekt-config.yml +++ b/hv-collector-analysis/src/main/resources/onap-detekt-config.yml @@ -200,7 +200,7 @@ formatting: android: false autoCorrect: true ChainWrapping: - active: true + active: false autoCorrect: true CommentSpacing: active: true @@ -260,7 +260,7 @@ formatting: active: true autoCorrect: true ParameterListWrapping: - active: true + active: false autoCorrect: true indentSize: 4 SpacingAroundColon: @@ -307,7 +307,7 @@ naming: functionPattern: '^([a-z$][a-zA-Z$0-9]*)|(`.*`)$' excludeClassPattern: '$^' MatchingDeclarationName: - active: true + active: false MemberNameEqualsClassName: active: false ignoreOverriddenFunction: true @@ -463,8 +463,8 @@ style: UnusedImports: active: false UnusedPrivateMember: - active: false - allowedNames: "(_|ignored|expected)" + active: true + allowedNames: "(_.*|ignored|expected)" UseDataClass: active: false excludeAnnotatedClasses: "" -- cgit 1.2.3-korg