Skip to content

Commit 912d2af

Browse files
committed
golangci-lint migrate
1 parent 19481d4 commit 912d2af

File tree

1 file changed

+26
-13
lines changed

1 file changed

+26
-13
lines changed

.golangci.yml

Lines changed: 26 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,31 @@
1-
linters-settings:
2-
revive:
3-
rules:
4-
- name: exported
5-
arguments:
6-
- disableStutteringCheck
7-
1+
version: "2"
82
linters:
93
enable:
10-
- gofmt
114
- revive
125
- testifylint
136
- wrapcheck
14-
15-
issues:
16-
include:
17-
- EXC0012 # EXC0012 revive: Annoying issue about not having a comment. The rare codebase has such comments
18-
- EXC0014 # EXC0014 revive: Annoying issue about not having a comment. The rare codebase has such comments
7+
settings:
8+
revive:
9+
rules:
10+
- name: exported
11+
arguments:
12+
- disableStutteringCheck
13+
exclusions:
14+
generated: lax
15+
presets:
16+
- common-false-positives
17+
- legacy
18+
- std-error-handling
19+
paths:
20+
- third_party$
21+
- builtin$
22+
- examples$
23+
formatters:
24+
enable:
25+
- gofmt
26+
exclusions:
27+
generated: lax
28+
paths:
29+
- third_party$
30+
- builtin$
31+
- examples$

0 commit comments

Comments
 (0)