Skip to content

Commit 4c3775c

Browse files
committed
style: detekt
1 parent 55ddc2e commit 4c3775c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

detekt.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ complexity:
4747
thresholdInClasses: 15
4848
thresholdInObjects: 15
4949
LongParameterList:
50-
functionThreshold: 8
50+
functionThreshold: 10
51+
constructorThreshold: 10
5152
LongMethod:
5253
excludes: [ '**/test/**' ]

src/main/kotlin/spp/protocol/instrument/LiveInstrument.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ sealed class LiveInstrument {
5555

5656
abstract fun toJson(): JsonObject
5757

58-
@Suppress("LongParameterList")
5958
abstract fun copy(
6059
location: LiveSourceLocation? = null,
6160
condition: String? = null,

0 commit comments

Comments
 (0)