mirror of
https://github.com/docker/docker-credential-helpers.git
synced 2026-06-13 16:01:28 +05:30
d5c91a2f56
Linters 'deadcode', 'structcheck', 'varcheck' are deprecated since v1.49.0 and had been replaced by 'unused'. Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
33 lines
527 B
YAML
33 lines
527 B
YAML
run:
|
|
timeout: 10m
|
|
modules-download-mode: vendor
|
|
|
|
linters:
|
|
enable:
|
|
- gofmt
|
|
- govet
|
|
- depguard
|
|
- goimports
|
|
- ineffassign
|
|
- misspell
|
|
- unused
|
|
- revive
|
|
- staticcheck
|
|
- typecheck
|
|
disable-all: true
|
|
|
|
linters-settings:
|
|
depguard:
|
|
list-type: blacklist
|
|
include-go-root: true
|
|
packages:
|
|
# The io/ioutil package has been deprecated.
|
|
# https://go.dev/doc/go1.16#ioutil
|
|
- io/ioutil
|
|
|
|
issues:
|
|
exclude-rules:
|
|
- linters:
|
|
- revive
|
|
text: "stutters"
|