Skip to content

Commit fa93c24

Browse files
committed
update golangci-lint config
1 parent 03f5ffe commit fa93c24

File tree

1 file changed

+22
-6
lines changed

1 file changed

+22
-6
lines changed

.golangci.yaml

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

0 commit comments

Comments
 (0)