1
0
mirror of https://github.com/distribution/distribution synced 2024-12-25 15:05:51 +01:00
distribution/.golangci.yml
Milos Gajdos 5316d3bda2
Bump Go and golang linter
Signed-off-by: Milos Gajdos <milosthegajdos@gmail.com>
2024-06-30 16:50:09 +01:00

29 lines
515 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:
deadline: 2m
exlude-dirs:
- vendor