Skip to content

Commit

Permalink
Simplify Expressions and Enhance Grammar for Clarity (pinterest#2672)
Browse files Browse the repository at this point in the history
Co-authored-by: TBSten <[email protected]>
  • Loading branch information
soleil-colza and TBSten authored May 28, 2024
1 parent dedbff5 commit 40e95fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions documentation/release-latest/docs/rules/standard.md
Original file line number Diff line number Diff line change
Expand Up @@ -535,8 +535,8 @@ Enforce naming of property.
=== "[:material-heart:](#) Ktlint"

```kotlin
val foo1 = Foo() // In case developer want to communicate that Foo is mutable
val FOO1 = Foo() // In case developer want to communicate that Foo is deeply immutable
val foo1 = Foo() // In case developers want to tell that Foo is mutable
val FOO1 = Foo() // In case developers want to tell that Foo is deeply immutable

const val FOO_BAR = "FOO-BAR" // By definition deeply immutable

Expand Down
4 changes: 2 additions & 2 deletions documentation/snapshot/docs/rules/standard.md
Original file line number Diff line number Diff line change
Expand Up @@ -535,8 +535,8 @@ Enforce naming of property.
=== "[:material-heart:](#) Ktlint"

```kotlin
val foo1 = Foo() // In case developer want to communicate that Foo is mutable
val FOO1 = Foo() // In case developer want to communicate that Foo is deeply immutable
val foo1 = Foo() // In case developers want to tell that Foo is mutable
val FOO1 = Foo() // In case developers want to tell that Foo is deeply immutable

const val FOO_BAR = "FOO-BAR" // By definition deeply immutable

Expand Down

0 comments on commit 40e95fe

Please sign in to comment.