Skip to content

Commit b5d7302

Browse files
authored
dev: clean reference file (#4418)
1 parent b172ad4 commit b5d7302

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.golangci.reference.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -68,17 +68,13 @@ run:
6868
# Allow multiple parallel golangci-lint instances running.
6969
# If false, golangci-lint acquires file lock on start.
7070
# Default: false
71-
allow-parallel-runners: false
71+
allow-parallel-runners: true
7272

7373
# Allow multiple golangci-lint instances running, but serialize them around a lock.
7474
# If false, golangci-lint exits with an error if it fails to acquire file lock on start.
7575
# Default: false
7676
allow-serial-runners: true
7777

78-
# Print avg and max memory usage of golangci-lint and total time.
79-
# Default: false
80-
print-resources-usage: true
81-
8278
# Define the Go version limit.
8379
# Mainly related to generics support since go1.18.
8480
# 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:
13851381
# A set of custom functions to check in addition to the builtin ones.
13861382
# Default: json, xml, gopkg.in/yaml.v3, BurntSushi/toml, mitchellh/mapstructure, jmoiron/sqlx
13871383
functions:
1388-
# The full name of the function, including the package.
1384+
# The full name of the function, including the package.
13891385
- name: github.com/hashicorp/hcl/v2/hclsimple.DecodeFile
13901386
# The struct tag whose presence should be ensured.
13911387
tag: hcl
@@ -2491,6 +2487,11 @@ linters-settings:
24912487
# Intended to point to the repo location of the linter.
24922488
# Optional.
24932489
original-url: github.com/golangci/example-linter
2490+
# Plugins settings/configuration.
2491+
# Only work with plugin based on `linterdb.PluginConstructor`.
2492+
# Optional.
2493+
settings:
2494+
foo: bar
24942495

24952496

24962497
linters:

0 commit comments

Comments
 (0)