Skip to content

Commit 50901e4

Browse files
misha-ridgeldez
andauthored
docs: Clarify that custom linters are not enabled by default (#3506)
Co-authored-by: Fernandez Ludovic <[email protected]>
1 parent 3a1f50d commit 50901e4

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.
68+
Custom linters are disabled by default, and are not enabled when `linters.enable-all` is specified.
69+
They can be enabled by adding them the `linters.enable` list, or providing the enabled option on the command line (`golangci-lint run -Eexample`).
7170

7271
### Create a Plugin
7372

0 commit comments

Comments
 (0)