Skip to content

Commit 5ac0d51

Browse files
doc: add missing fields to .golangci.reference.yml (#4285)
1 parent f921f00 commit 5ac0d51

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.golangci.reference.yml

+12
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,15 @@ run:
7070
# Default: false
7171
allow-parallel-runners: false
7272

73+
# Allow multiple golangci-lint instances running, but serialize them around a lock.
74+
# If false, golangci-lint exits with an error if it fails to acquire file lock on start.
75+
# Default: false
76+
allow-serial-runners: true
77+
78+
# Print avg and max memory usage of golangci-lint and total time.
79+
# Default: false
80+
print-resources-usage: true
81+
7382
# Define the Go version limit.
7483
# Mainly related to generics support since go1.18.
7584
# Default: use Go version from the go.mod file, fallback on the env var `GOVERSION`, fallback on 1.17
@@ -2698,6 +2707,9 @@ issues:
26982707
# Default: false
26992708
fix: true
27002709

2710+
# Show issues in any part of update files (requires new-from-rev or new-from-patch).
2711+
# Default: false
2712+
whole-files: true
27012713

27022714
severity:
27032715
# Set the default severity for issues.

0 commit comments

Comments
 (0)