mirror of
https://github.com/esengine/DeepSeek-Reasonix.git
synced 2026-11-07 10:45:59 -10:00
chore(lint): keep recognising x/net's deprecated GoAwayError
x/net v0.60.0 marks http2.GoAwayError deprecated while its Transport still returns it, so the transport classifier must keep matching it. Scope the SA1019 exclusion to that file.
This commit is contained in:
1 parent
1b9afa89c7
commit
8ef15184db
1 file changed
+6
@@ -64,6 +64,12 @@ linters:
|
||||
linters:
|
||||
- staticcheck
|
||||
text: SA5011
|
||||
# x/net's Transport still returns GoAwayError although the type is marked
|
||||
# deprecated, so the classifier has to keep recognising it.
|
||||
- path: internal/provider/transport_diagnostic
|
||||
linters:
|
||||
- staticcheck
|
||||
text: SA1019
|
||||
# SA4023 is trivially true on GOOS=windows: dialAgent's Windows stub
|
||||
# (agent_windows.go) always returns a non-nil error until named-pipe
|
||||
# transport lands. Suppress only this call site; the comparison stays
|
||||
|
||||
Reference in new issue
Block a user