Skip to content

Commit

Permalink
Add missing overlapping info & fix rules URLs (#5378)
Browse files Browse the repository at this point in the history
  • Loading branch information
tfcporciuncula committed Oct 6, 2022
1 parent d642648 commit 8850a96
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions website/versioned_docs/version-1.21.0/rules/formatting.md
Expand Up @@ -94,7 +94,7 @@ See [ktlint-readme](https://github.com/pinterest/ktlint#standard-rules) for docu

See [ktlint-readme](https://github.com/pinterest/ktlint#standard-rules) for documentation.

This rules overlaps with [naming>MatchingDeclarationName](https://detekt.dev/naming.html#matchingdeclarationname)
This rules overlaps with [naming>MatchingDeclarationName](https://detekt.dev/docs/rules/naming/#matchingdeclarationname)
from the standard rules, make sure to enable just one.

**Active by default**: Yes - Since v1.0.0
Expand All @@ -103,7 +103,7 @@ from the standard rules, make sure to enable just one.

See [ktlint-readme](https://github.com/pinterest/ktlint#standard-rules) for documentation.

This rules overlaps with [style>NewLineAtEndOfFile](https://detekt.dev/style.html#newlineatendoffile)
This rules overlaps with [style>NewLineAtEndOfFile](https://detekt.dev/docs/rules/style/#newlineatendoffile)
from the standard rules, make sure to enable just one. The pro of this rule is that it can auto-correct the issue.

**Active by default**: Yes - Since v1.0.0
Expand Down Expand Up @@ -174,7 +174,7 @@ See [ktlint-readme](https://github.com/pinterest/ktlint#experimental-rules) for

See [ktlint-readme](https://github.com/pinterest/ktlint#standard-rules) for documentation.

This rules overlaps with [style>MaxLineLength](https://detekt.dev/style.html#maxlinelength)
This rules overlaps with [style>MaxLineLength](https://detekt.dev/docs/rules/style/#maxlinelength)
from the standard rules, make sure to enable just one or keep them aligned. The pro of this rule is that it can
auto-correct the issue.

Expand All @@ -200,7 +200,7 @@ See [ktlint-readme](https://github.com/pinterest/ktlint#experimental-rules) for

See [ktlint-readme](https://github.com/pinterest/ktlint#standard-rules) for documentation.

This rules overlaps with [style>ModifierOrder](https://detekt.dev/style.html#modifierorder)
This rules overlaps with [style>ModifierOrder](https://detekt.dev/docs/rules/style/#modifierorder)
from the standard rules, make sure to enable just one. The pro of this rule is that it can auto-correct the issue.

**Active by default**: Yes - Since v1.0.0
Expand All @@ -227,6 +227,9 @@ See [ktlint-readme](https://github.com/pinterest/ktlint#standard-rules) for docu

See [ktlint-readme](https://github.com/pinterest/ktlint#standard-rules) for documentation.

This rules overlaps with [empty-blocks>EmptyClassBlock](https://detekt.dev/docs/rules/empty-blocks/#emptyclassblock)
from the standard rules, make sure to enable just one. The pro of this rule is that it can auto-correct the issue.

**Active by default**: Yes - Since v1.0.0

### NoEmptyFirstLineInMethodBlock
Expand Down

0 comments on commit 8850a96

Please sign in to comment.