Skip to content

Commit 3e9040a

Browse files
committed
docs: improve explanation of the default.
1 parent d464c12 commit 3e9040a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.golangci.example.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ run:
6666

6767
# Define the Go version limit.
6868
# Mainly related to generics support in go1.18.
69-
# Default: 1.17
70-
go: 1.18
69+
# Default: use Go version from the go.mod file, fallback on the env var `GOVERSION`, fallback on 1.17
70+
go: '1.18'
7171

7272

7373
# output configuration options

0 commit comments

Comments
 (0)