diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2023-06-15 14:02:05 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2023-06-15 14:21:49 +0530 |
commit | 26a7298978a42cd7b8b2987c60edd602124edc5c (patch) | |
tree | a69cb2ece76696838617eb2861766499a219de7f /app/lint-baseline.xml | |
parent | a00bd046b6794d97bbff47d81054450db0c447fb (diff) |
fix: address `ComposeUnstableCollections` lint
Diffstat (limited to 'app/lint-baseline.xml')
-rw-r--r-- | app/lint-baseline.xml | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/app/lint-baseline.xml b/app/lint-baseline.xml index de1f0a60..5ccbd208 100644 --- a/app/lint-baseline.xml +++ b/app/lint-baseline.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<issues format="6" by="lint 8.2.0-alpha06" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha06)" variant="all" version="8.2.0-alpha06"> +<issues format="6" by="lint 8.2.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha08)" variant="all" version="8.2.0-alpha08"> <issue id="StopShip" @@ -8,7 +8,7 @@ errorLine2=" ~~~~~~"> <location file="src/main/java/app/passwordstore/util/viewmodel/PGPKeyListViewModel.kt" - line="35" + line="38" column="19"/> </issue> @@ -228,17 +228,6 @@ </issue> <issue - id="ComposeUnstableCollections" - message="The Compose Compiler cannot infer the stability of a parameter if a List<GpgIdentifier> is used in it, even if the item type is stable.
You should use Kotlinx Immutable Collections instead: `identifiers: ImmutableList<GpgIdentifier>` or create an `@Immutable` wrapper for this class: `@Immutable data class IdentifiersList(val items: List<GpgIdentifier>)`
See https://slackhq.github.io/compose-lints/rules/#avoid-using-unstable-collections for more information." - errorLine1=" identifiers: List<GpgIdentifier>," - errorLine2=" ~~~~~~~~~~~~~~~~~~~"> - <location - file="src/main/java/app/passwordstore/ui/pgp/PGPKeyList.kt" - line="36" - column="16"/> - </issue> - - <issue id="UnknownNullness" message="Should explicitly declare type here since implicit type does not specify nullness (Lazy<Array<(GitCommand<out (Any or Any?)> or GitCommand<out (Any or Any?)>?)>>)" errorLine1=" override val commands by unsafeLazy {" |