Skip to content

Commit 87f376d

Browse files
committed
Migrate golangci-lint config to new version using golangci-lint migrate
1 parent 816b083 commit 87f376d

1 file changed

Lines changed: 20 additions & 5 deletions

File tree

.golangci.yml

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

0 commit comments

Comments
 (0)