mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-17 15:36:48 +00:00
Deprecate all flags - Use querier.config.fluxInterval in lieu of passing `--flux-interval` and `--flux-interval-for-trace-detail` - Remove `--gateway-url` - Use telemetrystore.clickhouse.cluster in lieu of passing `--cluster` or `--cluster-name` - Add an `unparam` check in the linter. Updated some functions across the querier codebase to be compatible with this linter. - Remove prometheus config from docker builds.
35 lines
599 B
YAML
35 lines
599 B
YAML
linters:
|
|
default: standard
|
|
enable:
|
|
- bodyclose
|
|
- misspell
|
|
- nilnil
|
|
- sloglint
|
|
- depguard
|
|
- iface
|
|
- unparam
|
|
|
|
linters-settings:
|
|
sloglint:
|
|
no-mixed-args: true
|
|
kv-only: true
|
|
no-global: all
|
|
context: all
|
|
static-msg: true
|
|
msg-style: lowercased
|
|
key-naming-case: snake
|
|
depguard:
|
|
rules:
|
|
nozap:
|
|
deny:
|
|
- pkg: "go.uber.org/zap"
|
|
desc: "Do not use zap logger. Use slog instead."
|
|
iface:
|
|
enable:
|
|
- identical
|
|
issues:
|
|
exclude-dirs:
|
|
- "pkg/query-service"
|
|
- "ee/query-service"
|
|
- "scripts/"
|