Skip to content

Commit 5751a5f

Browse files
committed
repo(ci): migrate config to v2
1 parent fec9fc3 commit 5751a5f

1 file changed

Lines changed: 27 additions & 13 deletions

File tree

.golangci.yaml

Lines changed: 27 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,37 @@
11
# yaml-language-server: $schema=https://golangci-lint.run/jsonschema/golangci.jsonschema.json
2-
issues:
3-
exclude-dirs:
4-
- hack
5-
6-
run:
7-
timeout: 2m
8-
2+
version: "2"
93
linters:
10-
disable:
11-
- errcheck
12-
134
enable:
145
- goconst
156
- gocritic
16-
- goimports
177
- govet
18-
- revive
198
- gosec
209
- misspell
10+
- revive
11+
- staticcheck
2112
- unconvert
2213
- unparam
23-
- stylecheck
14+
disable:
15+
- errcheck
16+
exclusions:
17+
generated: lax
18+
presets:
19+
- comments
20+
- common-false-positives
21+
- legacy
22+
- std-error-handling
23+
paths:
24+
- hack
25+
- third_party$
26+
- builtin$
27+
- examples$
28+
formatters:
29+
enable:
30+
- goimports
31+
exclusions:
32+
generated: lax
33+
paths:
34+
- hack
35+
- third_party$
36+
- builtin$
37+
- examples$

0 commit comments

Comments
 (0)