From 0415754bb7873e64a808612c4449ca1bccd2a339 Mon Sep 17 00:00:00 2001 From: Oleksandr Redko Date: Mon, 17 Mar 2025 21:29:18 +0200 Subject: [PATCH 1/2] docs: update Homebrew installation manual --- docs/src/docs/welcome/install.mdx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/src/docs/welcome/install.mdx b/docs/src/docs/welcome/install.mdx index f96eae6447e7..89ee7f2659f3 100644 --- a/docs/src/docs/welcome/install.mdx +++ b/docs/src/docs/welcome/install.mdx @@ -78,10 +78,10 @@ Golangci-lint is available inside the majority of the package managers. ### macOS -#### Brew +#### Homebrew -Note: brew can use a non-expected version of Go to build the binary, -so we recommend either using our binaries or be sure of the version of Go used to build. +Note: Homebrew can use an unexpected version of Go to build the binary, +so we recommend either using our binaries or ensuring the version of Go used to build. You can install a binary release on macOS using [brew](https://brew.sh/): @@ -90,7 +90,8 @@ brew install golangci-lint brew upgrade golangci-lint ``` -Note: Previously we used a [Homebrew tap](https://github.com/golangci/homebrew-tap). We recommend using official formula instead of the tap, but sometimes the most recent release +Note: Previously, we used a [Homebrew tap](https://github.com/golangci/homebrew-tap). +We recommend using the [official formula](https://formulae.brew.sh/formula/golangci-lint) instead of the tap, but sometimes the most recent release isn't immediately available via Homebrew core due to manual updates that need to occur from Homebrew core maintainers. In this case, the tap formula, which is updated automatically, can be used to install the latest version of `golangci-lint`: From 1872332fa02800c47c8007dde39447ac6fdf5b4c Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Mon, 17 Mar 2025 21:27:21 +0100 Subject: [PATCH 2/2] review --- docs/src/docs/welcome/install.mdx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/src/docs/welcome/install.mdx b/docs/src/docs/welcome/install.mdx index 89ee7f2659f3..710b5e7a36fd 100644 --- a/docs/src/docs/welcome/install.mdx +++ b/docs/src/docs/welcome/install.mdx @@ -91,8 +91,9 @@ brew upgrade golangci-lint ``` Note: Previously, we used a [Homebrew tap](https://github.com/golangci/homebrew-tap). -We recommend using the [official formula](https://formulae.brew.sh/formula/golangci-lint) instead of the tap, but sometimes the most recent release -isn't immediately available via Homebrew core due to manual updates that need to occur from Homebrew core maintainers. In this case, the tap formula, which is updated automatically, +We recommend using the [official formula](https://formulae.brew.sh/formula/golangci-lint) instead of the tap, +but sometimes the most recent release isn't immediately available via Homebrew core due to manual updates that need to occur from Homebrew core maintainers. +In this case, the tap formula, which is updated automatically, can be used to install the latest version of `golangci-lint`: ```bash