Skip to content
This repository was archived by the owner on Dec 19, 2025. It is now read-only.

Commit 478021f

Browse files
committed
Migrate golangci-lint config to v2
1 parent dac72af commit 478021f

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

.golangci.yml

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,22 @@
1+
version: "2"
12
linters:
23
disable:
34
- errcheck
4-
5-
run:
6-
timeout: 5m
5+
exclusions:
6+
generated: lax
7+
presets:
8+
- comments
9+
- common-false-positives
10+
- legacy
11+
- std-error-handling
12+
paths:
13+
- third_party$
14+
- builtin$
15+
- examples$
16+
formatters:
17+
exclusions:
18+
generated: lax
19+
paths:
20+
- third_party$
21+
- builtin$
22+
- examples$

0 commit comments

Comments
 (0)