Skip to content

Commit 46e8449

Browse files
committed
docs: improve wording about formatter as linter
1 parent 2731071 commit 46e8449

File tree

1 file changed

+1
-3
lines changed
  • docs/content/docs/configuration

1 file changed

+1
-3
lines changed

docs/content/docs/configuration/cli.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ weight: 1
1414
{{< /cards >}}
1515

1616
> [!NOTE]
17-
> The formatters explicitly defined in the configuration section [`formatters`](/docs/configuration/file/#formatters-configuration) are automatically run by the command [`golangci-lint run`](/docs/configuration/cli/#run).
18-
>
19-
> You don't need to run [`golangci-lint fmt`](/docs/configuration/cli/#fmt) before [`golangci-lint run`](/docs/configuration/cli/#run)
17+
> The formatters explicitly defined in the configuration section [`formatters`](/docs/configuration/file/#formatters-configuration) are automatically run (as linter) by the command [`golangci-lint run`](/docs/configuration/cli/#run).
2018
>
2119
> But the formatters cannot be enabled or disabled inside the `linters` section or the flags `-E/--enable`, `-D/--disable` of the command [`golangci-lint run`](/docs/configuration/cli/#run).
2220
>

0 commit comments

Comments
 (0)