mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-18 00:47:48 +08:00

full diff: https://github.com/moby/go-archive/compare/21f3f3385ab7...v0.1.0 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
34 lines
820 B
YAML
34 lines
820 B
YAML
version: "2"
|
|
|
|
issues:
|
|
# Disable maximum issues count per one linter.
|
|
max-issues-per-linter: 0
|
|
# Disable maximum count of issues with the same text.
|
|
max-same-issues: 0
|
|
|
|
linters:
|
|
enable:
|
|
- errorlint
|
|
- unconvert
|
|
- unparam
|
|
exclusions:
|
|
generated: disable
|
|
presets:
|
|
- comments
|
|
- std-error-handling
|
|
settings:
|
|
staticcheck:
|
|
# Enable all options, with some exceptions.
|
|
# For defaults, see https://golangci-lint.run/usage/linters/#staticcheck
|
|
checks:
|
|
- all
|
|
- -QF1008 # Omit embedded fields from selector expression; https://staticcheck.dev/docs/checks/#QF1008
|
|
- -ST1003 # Poorly chosen identifier; https://staticcheck.dev/docs/checks/#ST1003
|
|
|
|
formatters:
|
|
enable:
|
|
- gofumpt
|
|
- goimports
|
|
exclusions:
|
|
generated: disable
|