Skip to content

Commit

Permalink
Update detekt severity to error
Browse files Browse the repository at this point in the history
  • Loading branch information
ikarenkov committed May 3, 2024
1 parent 3119e55 commit 4338214
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions config/detekt/detekt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ output-reports:

comments:
active: true
severity: error
AbsentOrWrongFileLicense:
active: false
licenseTemplateFile: 'license.template'
Expand Down Expand Up @@ -178,6 +179,7 @@ complexity:

coroutines:
active: true
severity: error
GlobalCoroutineUsage:
active: false
InjectDispatcher:
Expand All @@ -199,6 +201,7 @@ coroutines:

empty-blocks:
active: true
severity: error
EmptyCatchBlock:
active: true
allowedExceptionNameRegex: '_|(ignore|expected).*'
Expand Down Expand Up @@ -234,6 +237,7 @@ empty-blocks:

exceptions:
active: true
severity: error
ExceptionRaisedInUnexpectedLocation:
active: true
methodNames:
Expand Down Expand Up @@ -307,6 +311,7 @@ formatting:
active: true
android: true
autoCorrect: true
severity: error
MaxLineLength:
active: true
maxLineLength: 150
Expand Down Expand Up @@ -377,6 +382,7 @@ formatting:

naming:
active: true
severity: error
BooleanPropertyNaming:
active: false
allowedPattern: '^(is|has|are)'
Expand Down Expand Up @@ -453,6 +459,7 @@ naming:

performance:
active: true
severity: error
ArrayPrimitive:
active: true
CouldBeSequence:
Expand All @@ -471,6 +478,7 @@ performance:

potential-bugs:
active: true
severity: error
AvoidReferentialEquality:
active: true
forbiddenTypePatterns:
Expand Down Expand Up @@ -575,6 +583,7 @@ potential-bugs:

style:
active: true
severity: error
AlsoCouldBeApply:
active: false
BracesOnIfStatements:
Expand Down Expand Up @@ -857,6 +866,8 @@ style:
# - 'java.util.*'

Compose:
active: true
severity: error
ComposableAnnotationNaming:
active: true
ComposableNaming:
Expand Down

0 comments on commit 4338214

Please sign in to comment.