Skip to content

Commit 0341882

Browse files
committed
build(detekt): bump max ReturnCount count to 4
2 is 2 low.
1 parent 24cd073 commit 0341882

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

detekt.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ style:
4040
maxLineLength: 120
4141
excludePackageStatements: true
4242
excludeImportStatements: true
43+
ReturnCount:
44+
active: true
45+
max: 4
46+
excludeGuardClauses: true
47+
excludes: ["**/test/**", "**/androidTest/**"]
4348

4449
naming:
4550
FunctionNaming:

0 commit comments

Comments
 (0)