Skip to content

Commit ea7d89b

Browse files
committed
Update golangci config
Signed-off-by: Jay Pipes <[email protected]>
1 parent 7b874a9 commit ea7d89b

File tree

1 file changed

+26
-6
lines changed

1 file changed

+26
-6
lines changed

.golangci.yaml

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,26 @@
1-
linters-settings:
2-
staticcheck:
3-
checks:
4-
- all
5-
- '-ST1000' # ignore at least one file in package should have comment
6-
- '-EXC0003' # ignore the stuttered name error
1+
version: "2"
2+
linters:
3+
settings:
4+
staticcheck:
5+
checks:
6+
- all
7+
- -EXC0003
8+
- -ST1000
9+
exclusions:
10+
generated: lax
11+
presets:
12+
- comments
13+
- common-false-positives
14+
- legacy
15+
- std-error-handling
16+
paths:
17+
- third_party$
18+
- builtin$
19+
- examples$
20+
formatters:
21+
exclusions:
22+
generated: lax
23+
paths:
24+
- third_party$
25+
- builtin$
26+
- examples$

0 commit comments

Comments
 (0)