Files
query-orchestration/.golangci.yml
T
Michael McGuinness 81e7223560 Merged in feature/textextraction (pull request #110)
Text Extraction

* bases

* go

* splitting

* structure

* movetoasync

* movetoasync

* settinguptrigger

* reorder

* storevent

* standardisepollingvalidation

* unittests

* fixlint

* fixlint

* awscfg

* generatesample

* followthrough

* tests

* clena

* store

* externalidcleanup

* clientid

* local

* baseunittests

* putobjecttests

* tests
2025-04-02 18:50:03 +00:00

63 lines
1.2 KiB
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"
- path: internal/serviceconfig/objectstore/config.go
linters:
- gosec
text: "G401"
- path: internal/serviceconfig/objectstore/config.go
linters:
- gosec
text: "G501"
max-issues-per-linter: 0
max-same-issues: 0