Files
query-orchestration/.golangci.yml
T
Michael McGuinness e6a4cb3990 Merged in feature/removenot (pull request #109)
Remove Note

* rm
2025-03-20 17:30:30 +00:00

55 lines
969 B
YAML

---
linters:
enable:
- errcheck
- gosimple
- govet
- staticcheck
- typecheck
- unused
- gofmt
- goimports
- gosec
- misspell
- sloglint
- spancheck
- godox
- cyclop
- unused
linters-settings:
errcheck:
check-type-assertions: true
gofmt:
simplify: true
goimports:
local-prefixes: queryorchestration
misspell:
locale: US
cyclop:
max-complexity: 17
package-average: 10
godox:
keywords:
- 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"
- path: internal/serviceconfig/observability/prometheus/generator/main.go
linters:
- gosec
text: "G306"
max-issues-per-linter: 0
max-same-issues: 0