dev: clean reference file (#4418)

This commit is contained in:
Ludovic Fernandez 2024-02-26 23:57:46 +01:00 committed by GitHub
parent b172ad45e1
commit b5d7302867
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -68,17 +68,13 @@ run:
# Allow multiple parallel golangci-lint instances running. # Allow multiple parallel golangci-lint instances running.
# If false, golangci-lint acquires file lock on start. # If false, golangci-lint acquires file lock on start.
# Default: false # Default: false
allow-parallel-runners: false allow-parallel-runners: true
# Allow multiple golangci-lint instances running, but serialize them around a lock. # 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. # If false, golangci-lint exits with an error if it fails to acquire file lock on start.
# Default: false # Default: false
allow-serial-runners: true 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. # Define the Go version limit.
# Mainly related to generics support since go1.18. # 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 # Default: use Go version from the go.mod file, fallback on the env var `GOVERSION`, fallback on 1.17
@ -2491,6 +2487,11 @@ linters-settings:
# Intended to point to the repo location of the linter. # Intended to point to the repo location of the linter.
# Optional. # Optional.
original-url: github.com/golangci/example-linter original-url: github.com/golangci/example-linter
# Plugins settings/configuration.
# Only work with plugin based on `linterdb.PluginConstructor`.
# Optional.
settings:
foo: bar
linters: linters: