From 7584ea8b241d295a283f40f2e2bc8c2f432ae823 Mon Sep 17 00:00:00 2001 From: Matthew Haughton <3flex@users.noreply.github.com> Date: Thu, 7 Sep 2023 01:46:25 +1000 Subject: [PATCH] Remove PackageName from experimental ruleset docs (#2248) The 'package-name' rule is in the standard rule set and is not experimental. The rule already is documented in standard rules. --- .../release-latest/docs/rules/experimental.md | 25 ------------------- .../snapshot/docs/rules/experimental.md | 25 ------------------- 2 files changed, 50 deletions(-) diff --git a/documentation/release-latest/docs/rules/experimental.md b/documentation/release-latest/docs/rules/experimental.md index 4b31b1bd00..6dc3237dc5 100644 --- a/documentation/release-latest/docs/rules/experimental.md +++ b/documentation/release-latest/docs/rules/experimental.md @@ -435,28 +435,3 @@ Enforce a single whitespace between the modifier list and the function type. ``` Rule id: `function-type-modifier-spacing` (`standard` rule set) - -## Package naming - -Enforce naming of package. - -This rule can also be suppressed with the IntelliJ IDEA inspection suppression `PackageName`. - -=== "[:material-heart:](#) Ktlint" - - ```kotlin - package foo - package foo.foo - package foo_bar - package foo.foo_bar - ``` -=== "[:material-heart-off-outline:](#) Disallowed" - - ```kotlin - package Foo - package foo.Foo - package `foo bar` - package foo.`foo bar` - ``` - -Rule id: `package-naming` (`standard` rule set) diff --git a/documentation/snapshot/docs/rules/experimental.md b/documentation/snapshot/docs/rules/experimental.md index 4b31b1bd00..6dc3237dc5 100644 --- a/documentation/snapshot/docs/rules/experimental.md +++ b/documentation/snapshot/docs/rules/experimental.md @@ -435,28 +435,3 @@ Enforce a single whitespace between the modifier list and the function type. ``` Rule id: `function-type-modifier-spacing` (`standard` rule set) - -## Package naming - -Enforce naming of package. - -This rule can also be suppressed with the IntelliJ IDEA inspection suppression `PackageName`. - -=== "[:material-heart:](#) Ktlint" - - ```kotlin - package foo - package foo.foo - package foo_bar - package foo.foo_bar - ``` -=== "[:material-heart-off-outline:](#) Disallowed" - - ```kotlin - package Foo - package foo.Foo - package `foo bar` - package foo.`foo bar` - ``` - -Rule id: `package-naming` (`standard` rule set)