File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 12
12
"description" : " Version of golangci-lint to install (https://github.com/golangci/golangci-lint/releases)." ,
13
13
"proposals" : [
14
14
" latest" ,
15
- " v1.58.1"
15
+ " v1.58.1" ,
16
+ " none"
16
17
]
17
18
},
18
19
"installGoReleaser" : {
95
96
" ko" ,
96
97
" yaegi"
97
98
]
98
- }
99
+ }
Original file line number Diff line number Diff line change @@ -162,7 +162,6 @@ check_and_install_packages $PACKAGES
162
162
163
163
GO_TOOLS=" \
164
164
golang.org/x/tools/gopls@latest \
165
- github.com/golangci/golangci-lint/cmd/golangci-lint@$( revise_golangci_version " $GOLANGCI_LINT_VERSION " ) \
166
165
honnef.co/go/tools/cmd/staticcheck@latest \
167
166
github.com/mgechev/revive@latest \
168
167
github.com/incu6us/goimports-reviser/v2@latest \
@@ -174,6 +173,11 @@ GO_TOOLS="\
174
173
github.com/haya14busa/goplay/cmd/goplay@latest \
175
174
github.com/766b/go-outliner@latest"
176
175
176
+ # Add GolangCI-Lint to the list of Go tools
177
+ if [ " $GOLANGCI_LINT_VERSION " != " none" ]; then
178
+ GO_TOOLS=" ${GO_TOOLS} github.com/golangci/golangci-lint/cmd/golangci-lint@$( revise_golangci_version " $GOLANGCI_LINT_VERSION " ) "
179
+ fi
180
+
177
181
# Add Air to the list of Go tools
178
182
if [ " $INSTALL_AIR " = " true" ]; then
179
183
GO_TOOLS=" ${GO_TOOLS} github.com/air-verse/air@latest"
You can’t perform that action at this time.
0 commit comments