Skip to content

Commit fd8fefd

Browse files
committed
Increase nested block depth limit
1 parent b47683d commit fd8fefd

File tree

2 files changed

+1
-2
lines changed
  • config/detekt
  • src/commonMain/kotlin/io/github/optimumcode/json/schema/internal/hostname

2 files changed

+1
-2
lines changed

config/detekt/detekt.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ complexity:
133133
ignoreArgumentsMatchingNames: false
134134
NestedBlockDepth:
135135
active: true
136-
threshold: 4
136+
threshold: 5
137137
NestedScopeFunctions:
138138
active: false
139139
threshold: 1

src/commonMain/kotlin/io/github/optimumcode/json/schema/internal/hostname/Punycode.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,6 @@ internal object Punycode {
165165
"detekt:CyclomaticComplexMethod",
166166
"detekt:ReturnCount",
167167
"detekt:LongMethod",
168-
"detekt:NestedBlockDepth",
169168
)
170169
private fun StringBuilder.decodeLabel(
171170
string: String,

0 commit comments

Comments
 (0)