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:
parent
695e390be7
commit
f9a85a6887
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue