Skip to content

Commit

Permalink
Add "standard:" prefix in rule ids in documentation (#2702)
Browse files Browse the repository at this point in the history
Closes #2700
  • Loading branch information
paul-dingemans authored Jun 15, 2024
1 parent 8547774 commit 5826d85
Show file tree
Hide file tree
Showing 4 changed files with 194 additions and 194 deletions.
8 changes: 4 additions & 4 deletions documentation/release-latest/docs/rules/experimental.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ Consistently add or remove blank lines between when-conditions in a when-stateme
|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:---------------:|:-------------:|:--------------:|
| `ij_kotlin_line_break_after_multiline_when_entry`<br/><i>Despite its name, forces a blank line between single line and multiline when-entries when at least one multiline when-entry is found in the when-statement.</i> | `true` | `true` | `true` |

Rule id: `blank-lines-between-when-conditions` (`standard` rule set)
Rule id: `standard:blank-lines-between-when-conditions`

## KDoc

Expand Down Expand Up @@ -164,7 +164,7 @@ Access modifiers are ignored. Strictly speaking, one could argue that private de
)
```

Rule id: `kdoc` (`standard` rule set)
Rule id: `standard:kdoc`

## Mixed condition operators

Expand All @@ -185,7 +185,7 @@ Conditions should not use a both `&&` and `||` operators between operators at th
val foo = bar1 && (bar2 || bar3 && bar4) && bar5
```

Rule id: `mixed-condition-operators` (`standard` rule set)
Rule id: `standard:mixed-condition-operators`

## Square brackets spacing

Expand Down Expand Up @@ -219,4 +219,4 @@ Check for spacing around square brackets.
val foo3 = bar[1 ]
```

Rule id: `square-brackets-spacing` (`standard` rule set)
Rule id: `standard:square-brackets-spacing`
Loading

0 comments on commit 5826d85

Please sign in to comment.