dev: clean reference file (#4418)
This commit is contained in:
parent
b172ad45e1
commit
b5d7302867
@ -68,17 +68,13 @@ run:
|
||||
# Allow multiple parallel golangci-lint instances running.
|
||||
# If false, golangci-lint acquires file lock on start.
|
||||
# Default: false
|
||||
allow-parallel-runners: false
|
||||
allow-parallel-runners: true
|
||||
|
||||
# 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
|
||||
@ -1385,7 +1381,7 @@ linters-settings:
|
||||
# A set of custom functions to check in addition to the builtin ones.
|
||||
# Default: json, xml, gopkg.in/yaml.v3, BurntSushi/toml, mitchellh/mapstructure, jmoiron/sqlx
|
||||
functions:
|
||||
# The full name of the function, including the package.
|
||||
# The full name of the function, including the package.
|
||||
- name: github.com/hashicorp/hcl/v2/hclsimple.DecodeFile
|
||||
# The struct tag whose presence should be ensured.
|
||||
tag: hcl
|
||||
@ -2491,6 +2487,11 @@ linters-settings:
|
||||
# Intended to point to the repo location of the linter.
|
||||
# Optional.
|
||||
original-url: github.com/golangci/example-linter
|
||||
# Plugins settings/configuration.
|
||||
# Only work with plugin based on `linterdb.PluginConstructor`.
|
||||
# Optional.
|
||||
settings:
|
||||
foo: bar
|
||||
|
||||
|
||||
linters:
|
||||
|
Loading…
x
Reference in New Issue
Block a user