68
68
# Allow multiple parallel golangci-lint instances running.
69
69
# If false, golangci-lint acquires file lock on start.
70
70
# Default: false
71
- allow-parallel-runners : false
71
+ allow-parallel-runners : true
72
72
73
73
# Allow multiple golangci-lint instances running, but serialize them around a lock.
74
74
# If false, golangci-lint exits with an error if it fails to acquire file lock on start.
75
75
# Default: false
76
76
allow-serial-runners : true
77
77
78
- # Print avg and max memory usage of golangci-lint and total time.
79
- # Default: false
80
- print-resources-usage : true
81
-
82
78
# Define the Go version limit.
83
79
# Mainly related to generics support since go1.18.
84
80
# Default: use Go version from the go.mod file, fallback on the env var `GOVERSION`, fallback on 1.17
@@ -2474,7 +2470,7 @@ linters-settings:
2474
2470
2475
2471
# Causes an error if a short declaration (:=) cuddles with anything other than
2476
2472
# another short declaration.
2477
- # This logic overrides force-err-cuddling among others.
2473
+ # This logic overrides force-err-cuddling among others.allow-serial-runners
2478
2474
force-short-decl-cuddling : false
2479
2475
2480
2476
# The custom section can be used to define linter plugins to be loaded at runtime.
@@ -2491,6 +2487,11 @@ linters-settings:
2491
2487
# Intended to point to the repo location of the linter.
2492
2488
# Optional.
2493
2489
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
2494
2495
2495
2496
2496
2497
linters :
0 commit comments