diff --git a/docs/src/docs/contributing/new-linters.mdx b/docs/src/docs/contributing/new-linters.mdx index 8f90dd746fcf..1e22d714a896 100644 --- a/docs/src/docs/contributing/new-linters.mdx +++ b/docs/src/docs/contributing/new-linters.mdx @@ -33,7 +33,7 @@ After that: 5. Take a look at the example of [pull requests with new linter support](https://github.com/golangci/golangci-lint/pulls?q=is%3Apr+is%3Amerged+label%3A%22linter%3A+new%22). 6. Run the tests: ```bash - go run ./cmd/golangci-lint/ run --no-config --disable-all --enable={yourlintername} ./pkg/golinters/{yourlintername}/testdata/{yourlintername}.go + go run ./cmd/golangci-lint/ run --no-config --default=none --enable={yourlintername} ./pkg/golinters/{yourlintername}/testdata/{yourlintername}.go ``` ## How to add a private linter to `golangci-lint` diff --git a/docs/src/docs/product/roadmap.mdx b/docs/src/docs/product/roadmap.mdx index e1b1b15a3836..91a5fc413cbf 100644 --- a/docs/src/docs/product/roadmap.mdx +++ b/docs/src/docs/product/roadmap.mdx @@ -50,7 +50,7 @@ The deprecation of a linter will follow 3 phases: but it's recommended to remove it from your configuration. 2. **Display of an error message**: At this point, you should remove the linter. The original implementation is replaced by a placeholder that does nothing. - The linter is NOT enabled when using `enable-all` and should be removed from the `disable` option. + The linter is NOT enabled when using `default: all` and should be removed from the `disable` option. 3. **Removal of the linter** from golangci-lint. Each phase corresponds to a minor version: diff --git a/docs/src/docs/welcome/quick-start.mdx b/docs/src/docs/welcome/quick-start.mdx index cf59865450d4..cf2f04045cf9 100644 --- a/docs/src/docs/welcome/quick-start.mdx +++ b/docs/src/docs/welcome/quick-start.mdx @@ -37,7 +37,7 @@ $ golangci-lint help linters Pass `-E/--enable` to enable linter and `-D/--disable` to disable: ```bash -golangci-lint run --disable-all -E errcheck +golangci-lint run --default=none -E errcheck ``` More information about available linters can be found in the [linters page](/usage/linters/).