Skip to content

Commit

Permalink
Attempt fixing nested list (#332)
Browse files Browse the repository at this point in the history
  • Loading branch information
TWiStErRob authored Sep 7, 2024
1 parent 3a371ea commit b323213
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,8 @@ Additionally, if there is a `content` lambda, it should be used as a trailing la

1. Required parameters (no default values)
2. Optional parameters (have default values)
1. `modifier: Modifier = Modifier`
2. The rest of optional params
1. `modifier: Modifier = Modifier`
2. The rest of optional params
3. [Optionally] A trailing lambda. If there is a `content` slot, it should be it.

```mermaid
Expand Down Expand Up @@ -356,7 +356,6 @@ private fun MyComposable(
) {
// ...
}

```

Related rule: [compose:vm-injection-check](https://github.com/mrmans0n/compose-rules/blob/main/rules/common/src/main/kotlin/io/nlopez/compose/rules/ViewModelInjection.kt)
Expand Down

0 comments on commit b323213

Please sign in to comment.