mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-31 23:58:03 +08:00

full diff: 397af5306b...8d32dbdd27
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
33 lines
548 B
YAML
33 lines
548 B
YAML
run:
|
|
timeout: 30m
|
|
|
|
linters:
|
|
enable:
|
|
- gofmt
|
|
- govet
|
|
- goimports
|
|
- ineffassign
|
|
- misspell
|
|
- unused
|
|
- staticcheck
|
|
- typecheck
|
|
disable-all: true
|
|
|
|
linters-settings:
|
|
depguard:
|
|
rules:
|
|
main:
|
|
deny:
|
|
# The io/ioutil package has been deprecated.
|
|
# https://go.dev/doc/go1.16#ioutil
|
|
- pkg: "io/ioutil"
|
|
desc: The io/ioutil package has been deprecated.
|
|
|
|
issues:
|
|
exclude-files:
|
|
- ".*\\.pb\\.go$"
|
|
|
|
# show all
|
|
max-issues-per-linter: 0
|
|
max-same-issues: 0
|