aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2023-04-27 14:43:47 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2023-04-27 14:45:06 +0530
commit5659ad9863f7ce47962668a473fd29c79d9c710e (patch)
treefd1f6d0cee7665b078a852fff56544816ed14832 /app
parentf0ac9f97e2551aef14cd023de95da3281f12a5ee (diff)
feat(build): add Slack's Compose Lints
Diffstat (limited to 'app')
-rw-r--r--app/lint-baseline.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/lint-baseline.xml b/app/lint-baseline.xml
index e0ce6073..d599da9d 100644
--- a/app/lint-baseline.xml
+++ b/app/lint-baseline.xml
@@ -129,6 +129,17 @@
</issue>
<issue
+ id="ComposeUnstableCollections"
+ message="The Compose Compiler cannot infer the stability of a parameter if a List&lt;GpgIdentifier> is used in it, even if the item type is stable.&#xA;You should use Kotlinx Immutable Collections instead: `identifiers: ImmutableList&lt;GpgIdentifier>` or create an `@Immutable` wrapper for this class: `@Immutable data class IdentifiersList(val items: List&lt;GpgIdentifier>)`&#xA;See https://slackhq.github.io/compose-lints/rules/#avoid-using-unstable-collections for more information."
+ errorLine1=" identifiers: List&lt;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&lt;Array&lt;(GitCommand&lt;out (Any or Any?)> or GitCommand&lt;out (Any or Any?)>?)>>)"
errorLine1=" override val commands by unsafeLazy {"