Skip to content

Commit 4579468

Browse files
committed
Add another suppression for detekt on punycode class
1 parent 2c5ce72 commit 4579468

File tree

1 file changed

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

1 file changed

+6
-1
lines changed

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,12 @@ internal object Punycode {
5353
* @return true if the range of [string] from [pos] to [limit] was valid and decoded successfully.
5454
* Otherwise, the decoding failed.
5555
*/
56-
@Suppress("detekt:CyclomaticComplexMethod", "detekt:ReturnCount", "detekt:LongMethod")
56+
@Suppress(
57+
"detekt:CyclomaticComplexMethod",
58+
"detekt:ReturnCount",
59+
"detekt:LongMethod",
60+
"detekt:NestedBlockDepth",
61+
)
5762
private fun StringBuilder.decodeLabel(
5863
string: String,
5964
pos: Int,

0 commit comments

Comments
 (0)