2025-03-05 12:05:46 +00:00
|
|
|
---
|
|
|
|
|
linters:
|
|
|
|
|
enable:
|
|
|
|
|
- errcheck
|
|
|
|
|
- gosimple
|
|
|
|
|
- govet
|
|
|
|
|
- staticcheck
|
|
|
|
|
- typecheck
|
|
|
|
|
- unused
|
|
|
|
|
- gofmt
|
|
|
|
|
- goimports
|
|
|
|
|
- gosec
|
|
|
|
|
- misspell
|
|
|
|
|
- sloglint
|
|
|
|
|
- spancheck
|
|
|
|
|
- godox
|
|
|
|
|
- cyclop
|
|
|
|
|
|
|
|
|
|
linters-settings:
|
|
|
|
|
errcheck:
|
|
|
|
|
check-type-assertions: true
|
|
|
|
|
gofmt:
|
|
|
|
|
simplify: true
|
|
|
|
|
goimports:
|
|
|
|
|
local-prefixes: queryorchestration
|
|
|
|
|
misspell:
|
|
|
|
|
locale: US
|
|
|
|
|
cyclop:
|
|
|
|
|
max-complexity: 17
|
|
|
|
|
package-average: 8
|
|
|
|
|
godox:
|
|
|
|
|
keywords:
|
|
|
|
|
- NOTE
|
|
|
|
|
- OPTIMIZE
|
|
|
|
|
- HACK
|
|
|
|
|
- TODO
|
|
|
|
|
- FIXME
|
|
|
|
|
|
|
|
|
|
issues:
|
|
|
|
|
exclude-rules:
|
|
|
|
|
- path: cmd/metricsExample_test/main\.go
|
|
|
|
|
linters:
|
|
|
|
|
- gosec
|
|
|
|
|
text: "G404"
|
|
|
|
|
- path: internal/serviceconfig/observability/prometheus/prometheus_test.go
|
|
|
|
|
linters:
|
|
|
|
|
- gosec
|
|
|
|
|
text: "G107"
|
|
|
|
|
max-issues-per-linter: 0
|
|
|
|
|
max-same-issues: 0
|