mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 08:17:04 +05:30
feat(build): remove Detekt and switch to Slack's Compose lints
This commit is contained in:
parent
d612ed44d9
commit
0ae48dee33
18 changed files with 101 additions and 812 deletions
|
@ -1,4 +1,15 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<issues format="6" by="lint 8.0.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (8.0.0-alpha08)" variant="all" version="8.0.0-alpha08">
|
||||
<issues format="6" by="lint 7.4.2" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.2)" variant="all" version="7.4.2">
|
||||
|
||||
<issue
|
||||
id="ComposeUnstableCollections"
|
||||
message="The Compose Compiler cannot infer the stability of a parameter if a List<String> is used in it, even if the item type is stable.
You should use Kotlinx Immutable Collections instead: `tags: ImmutableList<String>` or create an `@Immutable` wrapper for this class: `@Immutable data class TagsList(val items: List<String>)`
See https://slackhq.github.io/compose-lints/rules/#avoid-using-unstable-collections for more information."
|
||||
errorLine1=" tags: List<String>,"
|
||||
errorLine2=" ~~~~~~~~~~~~">
|
||||
<location
|
||||
file="src/main/kotlin/dev/msfjarvis/claw/common/posts/LobstersCard.kt"
|
||||
line="204"
|
||||
column="9"/>
|
||||
</issue>
|
||||
|
||||
</issues>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue