distribution/.golangci.yml
Milos Gajdos 3a33ba12ad
Fix golangci-lint config
There was a typo and non-existent config option in the linter config.

Because we don't verify the config it's easy to miss it.

Signed-off-by: Milos Gajdos <milosthegajdos@gmail.com>
2025-03-29 20:42:18 -07:00

28 lines
501 B
YAML

linters:
enable:
- staticcheck
- unconvert
- gofmt
- goimports
- revive
- ineffassign
- govet
- unused
- misspell
- bodyclose
- prealloc
- errcheck
- tparallel
linters-settings:
revive:
rules:
# TODO(thaJeztah): temporarily disabled the "unused-parameter" check.
# It produces many warnings, and some of those may need to be looked at.
- name: unused-parameter
disabled: true
issues:
exclude-dirs:
- vendor