mirror of
https://github.com/distribution/distribution.git
synced 2025-04-27 11:11:33 +00:00
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>
28 lines
501 B
YAML
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
|