Skip to content

Commit

Permalink
Fix typo when-entry-spacingwhen-entry-bracing (#2845)
Browse files Browse the repository at this point in the history
  • Loading branch information
FloEdelmann authored Oct 24, 2024
1 parent a6c2543 commit 6e7f104
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions documentation/snapshot/docs/rules/experimental.md
Original file line number Diff line number Diff line change
Expand Up @@ -341,20 +341,20 @@ This rule is not incorporated in the Kotlin Coding conventions, nor in the Andro
}
```
Rule id: `standard:when-entry-spacing`
Rule id: `standard:when-entry-bracing`
Suppress or disable rule (1)
{ .annotate }
1. Suppress rule in code with annotation below:
```kotlin
@Suppress("ktlint:standard:when-entry-spacing")
@Suppress("ktlint:standard:when-entry-bracing")
```
Enable rule via `.editorconfig`
```editorconfig
ktlint_standard_when-entry-spacing = enabled
ktlint_standard_when-entry-bracing = enabled
```
Disable rule via `.editorconfig`
```editorconfig
ktlint_standard_when-entry-spacing = disabled
ktlint_standard_when-entry-bracing = disabled
```

0 comments on commit 6e7f104

Please sign in to comment.