From 8d61b50cfdb3ad4a90e9dd3202f14f10fc1ef697 Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Wed, 29 Jan 2025 00:10:24 +0100 Subject: [PATCH 1/2] docs: update FAQ about updating linter --- docs/src/docs/contributing/faq.mdx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/src/docs/contributing/faq.mdx b/docs/src/docs/contributing/faq.mdx index adb33ac6301b..2f13a35690fa 100644 --- a/docs/src/docs/contributing/faq.mdx +++ b/docs/src/docs/contributing/faq.mdx @@ -12,7 +12,10 @@ See [there](/contributing/new-linters#how-to-add-a-private-linter-to-golangci-li ## How to update an existing linter -Just update its version in `go.mod`. +We use Dependabot to update dependencies (linters included). +The updates happen at least automatically once a week (Sunday 11am UTC). + +No pull requests to update a linter will be accepted unless you are the author of the linter AND specific changes are required. ## How to add a configuration option to an existing linter From c7b0ad050a12acbc4bea105438c9580008e38476 Mon Sep 17 00:00:00 2001 From: Ludovic Fernandez Date: Wed, 29 Jan 2025 16:11:42 +0100 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: Oleksandr Redko --- docs/src/docs/contributing/faq.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/docs/contributing/faq.mdx b/docs/src/docs/contributing/faq.mdx index 2f13a35690fa..459b5da9354a 100644 --- a/docs/src/docs/contributing/faq.mdx +++ b/docs/src/docs/contributing/faq.mdx @@ -12,10 +12,10 @@ See [there](/contributing/new-linters#how-to-add-a-private-linter-to-golangci-li ## How to update an existing linter -We use Dependabot to update dependencies (linters included). +We use [Dependabot](https://github.com/golangci/golangci-lint/blob/HEAD/.github/dependabot.yml) to update dependencies, including linters. The updates happen at least automatically once a week (Sunday 11am UTC). -No pull requests to update a linter will be accepted unless you are the author of the linter AND specific changes are required. +No pull requests to update a linter will be accepted unless you are the author of the linter and specific changes are required. ## How to add a configuration option to an existing linter