Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
Update lint-baseline.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
nvllz authored Nov 17, 2023
1 parent 03cb9d9 commit afa0a16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/lint-baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11604,7 +11604,7 @@

<issue
id="ComposeParameterOrder"
message="Parameters in a composable function should be ordered following this pattern: params without defaults, modifiers, params with defaults and optionally, a trailing function that might not have a default param.&#xA;Current params are: [modifier: Modifier = Modifier, currency: String, balance: Double, hiddenMode: Boolean = false, textColor: Color = UI.colors.pureInverse, spacerCurrency: Dp = 12.dp, currencyFontSize: TextUnit? = null, balanceFontSize: TextUnit? = null, currencyUpfront: Boolean = true, balanceAmountPrefix: String? = null, shortenBigNumbers: Boolean = false] but should be [currency: String, balance: Double, modifier: Modifier = Modifier, hiddenMode: Boolean = false, textColor: Color = UI.colors.pureInverse, decimalPaddingTop: Dp = 12.dp, spacerCurrency: Dp = 12.dp, spacerDecimal: Dp = 8.dp, currencyFontSize: TextUnit? = null, integerFontSize: TextUnit? = null, currencyUpfront: Boolean = true, balanceAmountPrefix: String? = null, shortenBigNumbers: Boolean = false].&#xA;See https://slackhq.github.io/compose-lints/rules/#ordering-composable-parameters-properly for more information."
message="Parameters in a composable function should be ordered following this pattern: params without defaults, modifiers, params with defaults and optionally, a trailing function that might not have a default param.&#xA;Current params are: [modifier: Modifier = Modifier, currency: String, balance: Double, hiddenMode: Boolean = false, textColor: Color = UI.colors.pureInverse, decimalPaddingTop: Dp = 12.dp, spacerCurrency: Dp = 12.dp, spacerDecimal: Dp = 8.dp, currencyFontSize: TextUnit? = null, integerFontSize: TextUnit? = null, decimalFontSize: TextUnit? = null, currencyUpfront: Boolean = true, balanceAmountPrefix: String? = null, shortenBigNumbers: Boolean = false] but should be [currency: String, balance: Double, modifier: Modifier = Modifier, hiddenMode: Boolean = false, textColor: Color = UI.colors.pureInverse, decimalPaddingTop: Dp = 12.dp, spacerCurrency: Dp = 12.dp, spacerDecimal: Dp = 8.dp, currencyFontSize: TextUnit? = null, integerFontSize: TextUnit? = null, decimalFontSize: TextUnit? = null, currencyUpfront: Boolean = true, balanceAmountPrefix: String? = null, shortenBigNumbers: Boolean = false].&#xA;See https://slackhq.github.io/compose-lints/rules/#ordering-composable-parameters-properly for more information."
errorLine1="@Composable"
errorLine2="^">
<location
Expand Down

0 comments on commit afa0a16

Please sign in to comment.