Skip to content

Commit 798fb57

Browse files
committed
Run golangci-lint migrate
1 parent 0a402a6 commit 798fb57

File tree

1 file changed

+23
-7
lines changed

1 file changed

+23
-7
lines changed

.golangci.yml

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,28 @@
1-
---
1+
version: "2"
22
linters:
33
enable:
44
- misspell
55
- revive
66
- sloglint
7-
8-
issues:
9-
exclude-rules:
10-
- path: _test.go
11-
linters:
12-
- errcheck
7+
exclusions:
8+
generated: lax
9+
presets:
10+
- comments
11+
- common-false-positives
12+
- legacy
13+
- std-error-handling
14+
rules:
15+
- linters:
16+
- errcheck
17+
path: _test.go
18+
paths:
19+
- third_party$
20+
- builtin$
21+
- examples$
22+
formatters:
23+
exclusions:
24+
generated: lax
25+
paths:
26+
- third_party$
27+
- builtin$
28+
- examples$

0 commit comments

Comments
 (0)