mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 05:57:03 +05:30
refactor: suppress LongParameterList
in model
module
This commit is contained in:
parent
16404e6654
commit
1d761b1f6e
7 changed files with 13 additions and 6 deletions
|
@ -1,10 +1,5 @@
|
|||
<?xml version="1.0" ?>
|
||||
<SmellBaseline>
|
||||
<ManuallySuppressedIssues></ManuallySuppressedIssues>
|
||||
<CurrentIssues>
|
||||
<ID>LongParameterList:Comment.kt$Comment$( val comment: String, val url: String, val score: Int, @Serializable(with = JavaInstantSerializer::class) @SerialName("created_at") val createdAt: TemporalAccessor, @Serializable(with = JavaInstantSerializer::class) @SerialName("updated_at") val updatedAt: TemporalAccessor, @SerialName("indent_level") val indentLevel: Int, @SerialName("commenting_user") val user: User, )</ID>
|
||||
<ID>LongParameterList:ExtendedPostDetails.kt$ExtendedPostDetails$( val title: String, val linkMetadata: LinkMetadata, val description: String, val submitter: User, val tags: List<String>, val comments: List<Comment>, val commentsUrl: String, )</ID>
|
||||
<ID>LongParameterList:LobstersPost.kt$LobstersPost$( @SerialName("short_id") val shortId: String, @SerialName("created_at") val createdAt: String, val title: String, val url: String, val description: String, @SerialName("comment_count") val commentCount: Int, @SerialName("comments_url") val commentsUrl: String, @SerialName("submitter_user") val submitter: User, val tags: List<String>, )</ID>
|
||||
<ID>LongParameterList:LobstersPostDetails.kt$LobstersPostDetails$( @SerialName("short_id") val shortId: String, @SerialName("created_at") val createdAt: String, val title: String, val url: String, val description: String, @SerialName("comment_count") val commentCount: Int, @SerialName("comments_url") val commentsUrl: String, @SerialName("submitter_user") val submitter: User, val tags: List<String>, val comments: List<Comment>, )</ID>
|
||||
</CurrentIssues>
|
||||
<CurrentIssues></CurrentIssues>
|
||||
</SmellBaseline>
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@file:Suppress("LongParameterList")
|
||||
|
||||
package dev.msfjarvis.claw.model
|
||||
|
||||
import dev.msfjarvis.claw.serialization.JavaInstantSerializer
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@file:Suppress("LongParameterList")
|
||||
|
||||
package dev.msfjarvis.claw.model
|
||||
|
||||
class ExtendedPostDetails(
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@file:Suppress("LongParameterList")
|
||||
|
||||
package dev.msfjarvis.claw.model
|
||||
|
||||
data class LinkMetadata(
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@file:Suppress("LongParameterList")
|
||||
|
||||
package dev.msfjarvis.claw.model
|
||||
|
||||
import kotlinx.serialization.SerialName
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@file:Suppress("LongParameterList")
|
||||
|
||||
package dev.msfjarvis.claw.model
|
||||
|
||||
import kotlinx.serialization.SerialName
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@file:Suppress("LongParameterList")
|
||||
|
||||
package dev.msfjarvis.claw.model
|
||||
|
||||
import kotlinx.serialization.SerialName
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue