mirror of
https://github.com/containers/image.git
synced 2025-04-18 19:44:05 +03:00
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Miloslav Trmač <mitr@redhat.com>
19 lines
541 B
YAML
19 lines
541 B
YAML
version: "2"
|
|
linters:
|
|
enable:
|
|
- errorlint
|
|
settings:
|
|
errorlint:
|
|
# See https://golangci-lint.run/usage/linters/#errorlint.
|
|
# Only allow warnings about not using %w.
|
|
errorf-multi: false
|
|
asserts: false
|
|
comparison: false
|
|
staticcheck:
|
|
checks: ["all", "-ST1000", "-ST1003", "-ST1016", "-ST1020", "-ST1021", "-ST1022", "-ST1005", "-QF1008"] # golangci-lint's default, we add -ST1005 and -QF1008
|
|
exclusions:
|
|
presets:
|
|
- comments
|
|
- common-false-positives
|
|
- std-error-handling
|