Skip to content

Commit d89831c

Browse files
committed
Update golangci configuration to v2.1
1 parent 0ebd0d9 commit d89831c

File tree

1 file changed

+29
-10
lines changed

1 file changed

+29
-10
lines changed

.golangci.yml

Lines changed: 29 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,29 @@
1-
issues:
2-
exclude-dirs:
3-
- toolgui-web
4-
5-
linters-settings:
6-
errcheck:
7-
exclude-functions:
8-
- (golang.org/x/net/websocket.Codec).Send
9-
- (golang.org/x/net/websocket.Codec).Receive
10-
- (net/http.ResponseWriter).Write
1+
version: "2"
2+
3+
linters:
4+
settings:
5+
errcheck:
6+
exclude-functions:
7+
- (golang.org/x/net/websocket.Codec).Send
8+
- (golang.org/x/net/websocket.Codec).Receive
9+
- (net/http.ResponseWriter).Write
10+
exclusions:
11+
generated: lax
12+
presets:
13+
- comments
14+
- common-false-positives
15+
- legacy
16+
- std-error-handling
17+
paths:
18+
- toolgui-web
19+
- third_party$
20+
- builtin$
21+
- examples$
22+
23+
formatters:
24+
exclusions:
25+
generated: lax
26+
paths:
27+
- third_party$
28+
- builtin$
29+
- examples$

0 commit comments

Comments
 (0)