File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -172,11 +172,11 @@ We don't recommend using `go tool`.
172172But if you want to use ` go tool ` to install and run golangci-lint (once again we don't recommend that),
173173the best approach is to use a dedicated module or module file to isolate golangci-lint from other tools or dependencies.
174174
175- This approach avoid to modifying your project dependencies and the golangci-lint dependencies.
175+ This approach avoids modifying your project dependencies and the golangci-lint dependencies.
176176
177177** ⚠️ IMPORTANT ⚠️: You should never update golangci-lint dependencies manually.**
178178
179- ** Method 1 ( dedicated module file) **
179+ ** Method 1: dedicated module file**
180180
181181``` sh
182182# Create a dedicated module file
@@ -199,7 +199,7 @@ go tool -modfile=golangci-lint.mod golangci-lint run
199199go get -tool -modfile=golangci-lint.mod github.com/golangci/v2/golangci-lint/cmd/golangci-lint@latest
200200```
201201
202- ** Method 2 ( dedicated module) **
202+ ** Method 2: dedicated module**
203203
204204``` sh
205205# Create a dedicated directory
You can’t perform that action at this time.
0 commit comments