Skip to content

Commit cec3c08

Browse files
committed
fix: revert to minimal golangci-lint config for v2.4.0 compatibility
The v2.4.0 schema is more restrictive and doesn't support linters-settings or exclude-dirs/exclude-patterns in the issues section.
1 parent 88420ea commit cec3c08

1 file changed

Lines changed: 1 addition & 15 deletions

File tree

.golangci.yml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ version: "2"
22
run:
33
build-tags:
44
- nosound
5-
timeout: 5m
6-
75
linters:
86
default: none
97
enable:
@@ -12,18 +10,6 @@ linters:
1210
- ineffassign
1311
- staticcheck
1412
- unused
15-
16-
linters-settings:
17-
errcheck:
18-
check-type-assertions: true
19-
govet:
20-
enable:
21-
- fieldalignment
22-
2313
issues:
2414
max-issues-per-linter: 0
25-
max-same-issues: 0
26-
exclude-dirs:
27-
- vendor
28-
exclude-patterns:
29-
- "//nolint:"
15+
max-same-issues: 0

0 commit comments

Comments
 (0)