Skip to content

Commit 5f4b809

Browse files
committed
fix(ci): move exclusions under linters configuration
Move path exclusions to linters.exclusions.paths as required by golangci-lint v2 configuration schema
1 parent 13bc858 commit 5f4b809

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.golangci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ issues:
1111
max-same-issues: 10
1212

1313
linters:
14+
exclusions:
15+
# Which file paths to exclude: they will be analyzed, but issues from them won't be reported
16+
paths:
17+
- "vendor/"
18+
- "scripts/"
19+
- "testdata/"
20+
1421
enable:
1522
# Default linters
1623
- govet # Reports suspicious constructs

0 commit comments

Comments
 (0)