7ce7c9df4d
Feature/ecr * nosave * repo * awscli * unzip * ignore * moreram * 14k * ref * deployment * 12k * uselocal * go * dockercomd * reorder * iamgename * installs * tart * cli * clideps * y * dockerce * nodock * multi * rmecr * dev
64 lines
1.2 KiB
YAML
64 lines
1.2 KiB
YAML
---
|
|
linters:
|
|
enable:
|
|
- errcheck
|
|
- gosimple
|
|
- govet
|
|
- staticcheck
|
|
- typecheck
|
|
- unused
|
|
- gofmt
|
|
- goimports
|
|
- gosec
|
|
- misspell
|
|
- sloglint
|
|
- spancheck
|
|
- godox
|
|
- cyclop
|
|
- unused
|
|
- usetesting
|
|
|
|
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
|