Merge pull request #14467 from aknuds1/arve/fix-golangcilint-deprecations

golangci-lint: Don't use deprecated config params
This commit is contained in:
Bryan Boreham 2024-07-15 10:01:10 +01:00 committed by GitHub
commit efdd6fcbcb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,12 +1,5 @@
run:
timeout: 15m
skip-files:
# Skip autogenerated files.
- ^.*\.(pb|y)\.go$
skip-dirs:
# Copied it from a different source
- storage/remote/otlptranslator/prometheusremotewrite
- storage/remote/otlptranslator/prometheus
output:
sort-results: true
@ -33,6 +26,13 @@ linters:
issues:
max-same-issues: 0
exclude-files:
# Skip autogenerated files.
- ^.*\.(pb|y)\.go$
exclude-dirs:
# Copied it from a different source
- storage/remote/otlptranslator/prometheusremotewrite
- storage/remote/otlptranslator/prometheus
exclude-rules:
- linters:
- gocritic