Skip to content

Commit

Permalink
Remove PackageName from experimental ruleset docs (#2248)
Browse files Browse the repository at this point in the history
The 'package-name' rule is in the standard rule set and is not
experimental. The rule already is documented in standard rules.
  • Loading branch information
3flex committed Sep 6, 2023
1 parent 21bec75 commit 7584ea8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 50 deletions.
25 changes: 0 additions & 25 deletions documentation/release-latest/docs/rules/experimental.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
25 changes: 0 additions & 25 deletions documentation/snapshot/docs/rules/experimental.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 7584ea8

Please sign in to comment.