Skip to content

Commit 3939c75

Browse files
authored
Fix property-naming rule reference (#3210)
To better match the surrounding context, the rule name `ktlint_property_naming_constant_naming-naming` is changed to `property-naming`.
1 parent 110e686 commit 3939c75

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

documentation/release-latest/docs/rules/standard.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1749,7 +1749,7 @@ This rule is suppressed whenever the IntelliJ IDEA inspection suppression `Prope
17491749
| `ktlint_property_naming_constant_naming`<br/><i>The naming style ('screaming_snake_case', or 'pascal_case') to be applied on constant properties.</i> | `screaming_snake_case` | `screaming_snake_case` | `screaming_snake_case` |
17501750
17511751
!!! note
1752-
When using Compose, you might want to configure the `ktlint_property_naming_constant_naming-naming` rule with `.editorconfig` property `ktlint_property_naming_constant_naming = pascal_case`.
1752+
When using Compose, you might want to configure the `property-naming` rule with `.editorconfig` property `ktlint_property_naming_constant_naming = pascal_case`.
17531753
17541754
Rule id: `standard:property-naming`
17551755

documentation/snapshot/docs/rules/standard.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1749,7 +1749,7 @@ This rule is suppressed whenever the IntelliJ IDEA inspection suppression `Prope
17491749
| `ktlint_property_naming_constant_naming`<br/><i>The naming style ('screaming_snake_case', or 'pascal_case') to be applied on constant properties.</i> | `screaming_snake_case` | `screaming_snake_case` | `screaming_snake_case` |
17501750
17511751
!!! note
1752-
When using Compose, you might want to configure the `ktlint_property_naming_constant_naming-naming` rule with `.editorconfig` property `ktlint_property_naming_constant_naming = pascal_case`.
1752+
When using Compose, you might want to configure the `property-naming` rule with `.editorconfig` property `ktlint_property_naming_constant_naming = pascal_case`.
17531753
17541754
Rule id: `standard:property-naming`
17551755

0 commit comments

Comments
 (0)