Skip to content

Commit 33e50b1

Browse files
committed
docs: Clarify that custom linters are not enabled by default (golangci#3505)
1 parent 5631503 commit 33e50b1

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/src/docs/contributing/new-linters.mdx

+3-4
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,9 @@ linters-settings:
6464
original-url: github.com/golangci/example-linter
6565
```
6666
67-
That is all the configuration that is required to run a custom linter in your project. Custom linters are enabled by default,
68-
but abide by the same rules as other linters. If the disable all option is specified either on command line or in
69-
`.golangci.yml` files `linters:disable-all: true`, custom linters will be disabled; they can be re-enabled by adding them
70-
to the `linters:enable` list, or providing the enabled option on the command line, `golangci-lint run -Eexample`.
67+
That is all the configuration that is required to run a custom linter in your project. Custom linters are disabled by default,
68+
and are not enabled when `linters:enable-all` is specified. They can be enabled by adding them the `linters:enable` list, or
69+
providing the enabled option on the command line, `golangci-lint run -Eexample`.
7170

7271
### Create a Plugin
7372

0 commit comments

Comments
 (0)