diff --git a/detekt.yml b/detekt.yml index f8c0fb04..73a9d00a 100644 --- a/detekt.yml +++ b/detekt.yml @@ -1,3 +1,6 @@ +build: + maxIssues: 20 + style: ClassOrdering: active: true @@ -68,6 +71,10 @@ complexity: ignoreOverridden: true ignorePrivate: true + LongMethod: + active: true + excludes: + - "**/test/**" exceptions: ExceptionRaisedInUnexpectedLocation: @@ -104,6 +111,8 @@ formatting: naming: FunctionMaxLength: active: true + excludes: + - "**/test/**" FunctionMinLength: active: true