mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-05 17:27:51 +00:00
59 lines
No EOL
1,011 B
YAML
59 lines
No EOL
1,011 B
YAML
version: "2"
|
|
run:
|
|
timeout: 7m
|
|
linters:
|
|
default: standard
|
|
enable:
|
|
- bodyclose
|
|
- copyloopvar
|
|
- dogsled
|
|
- dupl
|
|
- errcheck
|
|
- gocritic
|
|
- gocyclo
|
|
- goprintffuncname
|
|
- gosec
|
|
- govet
|
|
- ineffassign
|
|
- misspell
|
|
- nakedret
|
|
- nolintlint
|
|
- revive
|
|
- staticcheck
|
|
- unconvert
|
|
- unused
|
|
- whitespace
|
|
settings:
|
|
misspell:
|
|
ignore-rules:
|
|
- creater
|
|
staticcheck:
|
|
checks:
|
|
- all
|
|
# Disable QF1008 to retain embedded fields for better readability.
|
|
- "-QF1008"
|
|
exclusions:
|
|
generated: lax
|
|
presets:
|
|
- comments
|
|
- common-false-positives
|
|
- legacy
|
|
- std-error-handling
|
|
paths:
|
|
- third_party$
|
|
- builtin$
|
|
- examples$
|
|
formatters:
|
|
enable:
|
|
- gofmt
|
|
- goimports
|
|
settings:
|
|
goimports:
|
|
local-prefixes:
|
|
- sigs.k8s.io/custom-metrics-apiserver
|
|
exclusions:
|
|
generated: lax
|
|
paths:
|
|
- third_party$
|
|
- builtin$
|
|
- examples$ |