|
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 |
@@ -1385,7 +1381,7 @@ linters-settings: |
1385 | 1381 | # A set of custom functions to check in addition to the builtin ones. |
1386 | 1382 | # Default: json, xml, gopkg.in/yaml.v3, BurntSushi/toml, mitchellh/mapstructure, jmoiron/sqlx |
1387 | 1383 | functions: |
1388 | | - # The full name of the function, including the package. |
| 1384 | + # The full name of the function, including the package. |
1389 | 1385 | - name: github.com/hashicorp/hcl/v2/hclsimple.DecodeFile |
1390 | 1386 | # The struct tag whose presence should be ensured. |
1391 | 1387 | tag: hcl |
@@ -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