feat(detekt): sync baseline

This commit is contained in:
Harsh Shandilya 2022-10-02 16:04:33 +05:30
parent 0f684a3728
commit 16404e6654
No known key found for this signature in database
2 changed files with 9 additions and 0 deletions

View file

@ -2,6 +2,7 @@
<SmellBaseline> <SmellBaseline>
<ManuallySuppressedIssues></ManuallySuppressedIssues> <ManuallySuppressedIssues></ManuallySuppressedIssues>
<CurrentIssues> <CurrentIssues>
<ID>ComposableParamOrder:LobstersApp.kt$LobstersApp</ID>
<ID>FunctionOnlyReturningConstant:Destinations.kt$Destinations.Hottest$fun getRoute()</ID> <ID>FunctionOnlyReturningConstant:Destinations.kt$Destinations.Hottest$fun getRoute()</ID>
<ID>FunctionOnlyReturningConstant:Destinations.kt$Destinations.Newest$fun getRoute()</ID> <ID>FunctionOnlyReturningConstant:Destinations.kt$Destinations.Newest$fun getRoute()</ID>
<ID>FunctionOnlyReturningConstant:Destinations.kt$Destinations.Saved$fun getRoute()</ID> <ID>FunctionOnlyReturningConstant:Destinations.kt$Destinations.Saved$fun getRoute()</ID>
@ -14,6 +15,7 @@
<ID>MagicNumber:OkHttpModule.kt$OkHttpModule.Companion$10</ID> <ID>MagicNumber:OkHttpModule.kt$OkHttpModule.Companion$10</ID>
<ID>MagicNumber:OkHttpModule.kt$OkHttpModule.Companion$1024</ID> <ID>MagicNumber:OkHttpModule.kt$OkHttpModule.Companion$1024</ID>
<ID>MagicNumber:OkHttpModule.kt$OkHttpModule.Companion.&lt;no name provided&gt;$0x000090000</ID> <ID>MagicNumber:OkHttpModule.kt$OkHttpModule.Companion.&lt;no name provided&gt;$0x000090000</ID>
<ID>ModifierMissing:LobstersApp.kt$LobstersApp</ID>
<ID>TooGenericExceptionCaught:LobstersPagingSource.kt$LobstersPagingSource$e: Exception</ID> <ID>TooGenericExceptionCaught:LobstersPagingSource.kt$LobstersPagingSource$e: Exception</ID>
<ID>UnnecessaryAbstractClass:CoroutineDispatcherModule.kt$CoroutineDispatcherModule$CoroutineDispatcherModule</ID> <ID>UnnecessaryAbstractClass:CoroutineDispatcherModule.kt$CoroutineDispatcherModule$CoroutineDispatcherModule</ID>
<ID>UnnecessaryAbstractClass:OkHttpModule.kt$OkHttpModule$OkHttpModule</ID> <ID>UnnecessaryAbstractClass:OkHttpModule.kt$OkHttpModule$OkHttpModule</ID>

View file

@ -2,11 +2,18 @@
<SmellBaseline> <SmellBaseline>
<ManuallySuppressedIssues></ManuallySuppressedIssues> <ManuallySuppressedIssues></ManuallySuppressedIssues>
<CurrentIssues> <CurrentIssues>
<ID>CompositionLocalAllowlist:HTMLConverter.kt$LocalHTMLConverter</ID>
<ID>EmptyFunctionBlock:LobstersCardTest.kt$LobstersCardTest.Companion.&lt;no name provided&gt;${}</ID> <ID>EmptyFunctionBlock:LobstersCardTest.kt$LobstersCardTest.Companion.&lt;no name provided&gt;${}</ID>
<ID>MagicNumber:CommentEntry.kt$16</ID> <ID>MagicNumber:CommentEntry.kt$16</ID>
<ID>MagicNumber:LobstersCard.kt$50</ID> <ID>MagicNumber:LobstersCard.kt$50</ID>
<ID>MagicNumber:LobstersCard.kt$8</ID> <ID>MagicNumber:LobstersCard.kt$8</ID>
<ID>MagicNumber:Theme.kt$31</ID> <ID>MagicNumber:Theme.kt$31</ID>
<ID>ModifierMissing:ClawAppBar.kt$ClawAppBarPreview</ID>
<ID>ModifierMissing:CommentEntry.kt$CommentEntry</ID>
<ID>ModifierMissing:CommentEntry.kt$CommentsHeader</ID>
<ID>ModifierMissing:MonthHeader.kt$MonthHeader</ID>
<ID>ModifierReused:LobstersCard.kt$Row( modifier = modifier, verticalAlignment = Alignment.CenterVertically, horizontalArrangement = Arrangement.spacedBy(8.dp), ) { NetworkImage( url = avatarUrl, placeholder = ClawIcons.Account, contentDescription = contentDescription, modifier = modifier.requiredSize(24.dp).clip(CircleShape), ) Text(text = text, modifier = modifier, style = MaterialTheme.typography.bodyMedium) }</ID>
<ID>ModifierReused:LobstersCard.kt$Text(text = text, modifier = modifier, style = MaterialTheme.typography.bodyMedium)</ID>
<ID>SpreadOperator:Theme.kt$(*providedValues)</ID> <ID>SpreadOperator:Theme.kt$(*providedValues)</ID>
<ID>SwallowedException:UrlLauncher.kt$UrlLauncher$e: ActivityNotFoundException</ID> <ID>SwallowedException:UrlLauncher.kt$UrlLauncher$e: ActivityNotFoundException</ID>
<ID>ThrowingExceptionsWithoutMessageOrCause:NetworkError.kt$Throwable()</ID> <ID>ThrowingExceptionsWithoutMessageOrCause:NetworkError.kt$Throwable()</ID>