diff --git a/documentation/release-latest/docs/rules/standard.md b/documentation/release-latest/docs/rules/standard.md index 6a7c9853f2..c8e3e3c472 100644 --- a/documentation/release-latest/docs/rules/standard.md +++ b/documentation/release-latest/docs/rules/standard.md @@ -60,21 +60,21 @@ Requires a blank line before any class or function declaration. No blank line is ```kotlin const val FOO_1 = "foo1" - + class FooBar { val foo2 = "foo2" val foo3 = "foo3" - + fun bar1() { val foo4 = "foo4" val foo5 = "foo5" } - + fun bar2() = "bar" - + val foo6 = "foo3" val foo7 = "foo4" - + enum class Foo } ``` @@ -82,23 +82,19 @@ Requires a blank line before any class or function declaration. No blank line is === "[:material-heart-off-outline:](#) Disallowed" ```kotlin - const val foo1 = "foo1" + const val FOO_1 = "foo1" class FooBar { val foo2 = "foo2" val foo3 = "foo3" - fun bar1() { - val foo4 = "foo4" - val foo5 = "foo5" + val foo4 = "foo4" + val foo5 = "foo5" } - fun bar2() = "bar" - val foo6 = "foo3" val foo7 = "foo4" - - enum class Foo {} + enum class Foo } ``` diff --git a/documentation/snapshot/docs/rules/standard.md b/documentation/snapshot/docs/rules/standard.md index ad913e1a4e..2a869f66d1 100644 --- a/documentation/snapshot/docs/rules/standard.md +++ b/documentation/snapshot/docs/rules/standard.md @@ -60,21 +60,21 @@ Requires a blank line before any class or function declaration. No blank line is ```kotlin const val FOO_1 = "foo1" - + class FooBar { val foo2 = "foo2" val foo3 = "foo3" - + fun bar1() { val foo4 = "foo4" val foo5 = "foo5" } - + fun bar2() = "bar" - + val foo6 = "foo3" val foo7 = "foo4" - + enum class Foo } ``` @@ -82,23 +82,19 @@ Requires a blank line before any class or function declaration. No blank line is === "[:material-heart-off-outline:](#) Disallowed" ```kotlin - const val foo1 = "foo1" + const val FOO_1 = "foo1" class FooBar { val foo2 = "foo2" val foo3 = "foo3" - fun bar1() { - val foo4 = "foo4" - val foo5 = "foo5" + val foo4 = "foo4" + val foo5 = "foo5" } - fun bar2() = "bar" - val foo6 = "foo3" val foo7 = "foo4" - - enum class Foo {} + enum class Foo } ```