Skip to content

Commit e9aaa6f

Browse files
committed
run golangci-lint migrate
1 parent e4c139e commit e9aaa6f

2 files changed

Lines changed: 25 additions & 3 deletions

File tree

.golangci.bck.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
run:
2+
timeout: 3m
3+
4+
linters:
5+
enable:
6+
- gofmt

.golangci.yaml

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

0 commit comments

Comments
 (0)