Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Nek-12 committed Jan 5, 2025
1 parent 712922e commit 9ad1993
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import androidx.compose.ui.unit.LayoutDirection
/**
* The edge to use with [fadingEdge] modifier.
*/
@Suppress("UndocumentedPublicProperty") // what's here to document?
public enum class FadingEdge {
Start, End, Top, Bottom
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import androidx.compose.ui.graphics.drawscope.withTransform
/**
* Defines available modes for the [flip] modifier
*/
@Suppress("UndocumentedPublicProperty") // what's here to document?
public enum class FlipDirection(internal val x: Float, internal val y: Float) {
Vertical(1f, -1f),
Horizontal(-1f, 1f)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ public open class Form(
*/
public open fun validate(input: String): Input = rules(input, strategy).fold(input)

@Suppress("UndocumentedPublicClass") // what's here to document?
public companion object
}
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,6 @@ public sealed interface Input {
is Valid -> Valid(value)
}

@Suppress("UndocumentedPublicClass") // what's here to document?
public companion object
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ public fun interface Rule {
*/
public operator fun invoke(value: String): Sequence<ValidationError>

@Suppress("UndocumentedPublicClass") // what's here to document?
public companion object
}
Original file line number Diff line number Diff line change
Expand Up @@ -224,5 +224,6 @@ public sealed interface ValidationError {
@JvmInline
public value class NoUppercaseLetters(override val value: String) : ValidationError

@Suppress("UndocumentedPublicClass") // what's here to document?
public companion object
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ public sealed interface ValidationStrategy {
*/
public data object LazyEval : ValidationStrategy

@Suppress("UndocumentedPublicClass") // what's here to document?
public companion object
}
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ public val Uri.linkType: LinkType
/**
* Type of the [Uri]'s scheme
*/
@Suppress("UndocumentedPublicProperty") // what's here to document?
public enum class LinkType {
Web,
Mail,
Expand Down Expand Up @@ -85,6 +86,7 @@ public data class Email(
val body: String? = null,
) {

@Suppress("UndocumentedPublicClass") // what's here to document?
public companion object {

/**
Expand Down

0 comments on commit 9ad1993

Please sign in to comment.