|
11 | 11 | # Include test files or not. |
12 | 12 | # Default: true |
13 | 13 | tests: false |
14 | | - issues: |
15 | | - # Which files to skip: they will be analyzed, but issues from them won't be reported. |
16 | | - # Default value is empty list, |
17 | | - # but there is no need to include all autogenerated files, |
18 | | - # we confidently recognize autogenerated files. |
19 | | - # If it's not please let us know. |
20 | | - # "/" will be replaced by current OS file path separator to properly work on Windows. |
21 | | - exclude-files: |
22 | | - - ".*\\.my\\.go$" |
23 | | - - lib/bad.go |
24 | | - # Which dirs to skip: issues from them won't be reported. |
25 | | - # Can use regexp here: `generated.*`, regexp is applied on full path, |
26 | | - # including the path prefix if one is set. |
27 | | - # Default value is empty list, |
28 | | - # but default dirs are skipped independently of this option's value (see skip-dirs-use-default). |
29 | | - # "/" will be replaced by current OS file path separator to properly work on Windows. |
30 | | - exclude-dirs: |
31 | | - - src/external_libs |
32 | | - - autogenerated_by_my_lib |
33 | | - - deploy |
34 | | - - helpers |
35 | | - # Enables skipping of directories: |
36 | | - # - vendor$, third_party$, testdata$, examples$, Godeps$, builtin$ |
37 | | - # Default: true |
38 | | - exclude-dirs-use-default: true |
39 | 14 | # Allow multiple parallel golangci-lint instances running. |
40 | 15 | # If false (default) - golangci-lint acquires file lock on start. |
41 | | - allow-parallel-runners: false |
| 16 | + allow-parallel-runners: true |
42 | 17 | # Define the Go version limit. |
43 | 18 | # Mainly related to generics support since go1.18. |
44 | 19 | # Default: use Go version from the go.mod file, fallback on the env var `GOVERSION`, fallback on 1.23 |
45 | 20 | go: '1.23' |
| 21 | + |
| 22 | +# Move issues section to root level |
| 23 | +issues: |
| 24 | + # Which files to skip: they will be analyzed, but issues from them won't be reported. |
| 25 | + # Default value is empty list, |
| 26 | + # but there is no need to include all autogenerated files, |
| 27 | + # we confidently recognize autogenerated files. |
| 28 | + # If it's not please let us know. |
| 29 | + # "/" will be replaced by current OS file path separator to properly work on Windows. |
| 30 | + exclude-files: |
| 31 | + - ".*\\.my\\.go$" |
| 32 | + - lib/bad.go |
| 33 | + # Which dirs to skip: issues from them won't be reported. |
| 34 | + # Can use regexp here: `generated.*`, regexp is applied on full path, |
| 35 | + # including the path prefix if one is set. |
| 36 | + # Default value is empty list, |
| 37 | + # but default dirs are skipped independently of this option's value (see skip-dirs-use-default). |
| 38 | + # "/" will be replaced by current OS file path separator to properly work on Windows. |
| 39 | + exclude-dirs: |
| 40 | + - src/external_libs |
| 41 | + - autogenerated_by_my_lib |
| 42 | + - deploy |
| 43 | + - helpers |
| 44 | + # Enables skipping of directories: |
| 45 | + # - vendor$, third_party$, testdata$, examples$, Godeps$, builtin$ |
| 46 | + # Default: true |
| 47 | + exclude-dirs-use-default: true |
0 commit comments