1
0
Fork 0
mirror of https://github.com/prometheus-operator/prometheus-operator.git synced 2025-04-06 17:14:13 +00:00

chore: update .golangci.yaml config (#7190)

* update golangci config

Signed-off-by: dongjiang <dongjiang1989@126.com>

---------

Signed-off-by: dongjiang <dongjiang1989@126.com>
This commit is contained in:
dongjiang 2025-01-06 19:14:18 +08:00 committed by GitHub
parent 695e390be7
commit f9a85a6887
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,6 +11,7 @@ linters:
- unconvert
- recvcheck
- iface
- sloglint
issues:
exclude-rules:
@ -31,8 +32,6 @@ linters-settings:
exclude-functions:
# Any error in HTTP handlers is handled by the server itself.
- (net/http.ResponseWriter).Write
# Never check for logger errors.
- (github.com/go-kit/log.Logger).Log
gci:
sections:
- standard