From 95c89f015887fd4d2a8de11b391812f4930fc561 Mon Sep 17 00:00:00 2001 From: Mateus Oliveira Date: Sun, 24 Dec 2023 11:25:07 -0300 Subject: [PATCH] doc: Add missing fields to .golangci.yml Signed-off-by: Mateus Oliveira --- .golangci.reference.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.golangci.reference.yml b/.golangci.reference.yml index f85f91ba42cb..f24a96ad6915 100644 --- a/.golangci.reference.yml +++ b/.golangci.reference.yml @@ -70,6 +70,15 @@ run: # Default: false allow-parallel-runners: false + # Allow multiple golangci-lint instances running, but serialize them around a lock. + # If false, golangci-lint exits with an error if it fails to acquire file lock on start. + # Default: false + allow-serial-runners: true + + # Print avg and max memory usage of golangci-lint and total time. + # Default: false + print-resources-usage: true + # Define the Go version limit. # Mainly related to generics support since go1.18. # Default: use Go version from the go.mod file, fallback on the env var `GOVERSION`, fallback on 1.17 @@ -2698,6 +2707,9 @@ issues: # Default: false fix: true + # Show issues in any part of update files (requires new-from-rev or new-from-patch). + # Default: false + whole-files: true severity: # Set the default severity for issues.