Skip to content

Commit 38015e2

Browse files
committed
Migrate the linter configuration.
1 parent 1defaef commit 38015e2

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

.golangci.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,23 @@
1+
version: "2"
12
linters:
2-
disable-all: true
3+
default: none
4+
exclusions:
5+
generated: lax
6+
presets:
7+
- comments
8+
- common-false-positives
9+
- legacy
10+
- std-error-handling
11+
paths:
12+
- third_party$
13+
- builtin$
14+
- examples$
15+
formatters:
316
enable:
417
- goimports
18+
exclusions:
19+
generated: lax
20+
paths:
21+
- third_party$
22+
- builtin$
23+
- examples$

0 commit comments

Comments
 (0)