mirror of
https://github.com/containers/podman.git
synced 2025-10-25 02:04:43 +08:00
bump golangci-lint to 1.18.0
The latest versions have regressions in --skip-dirs where some linters will still run and error out. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
@ -6,8 +6,9 @@ run:
|
||||
- selinux
|
||||
concurrency: 6
|
||||
deadline: 5m
|
||||
skip-dirs-use-default: true
|
||||
skip-dirs:
|
||||
- dependencies/*
|
||||
- dependencies
|
||||
- contrib
|
||||
- test/e2e
|
||||
- docs
|
||||
@ -18,7 +19,7 @@ run:
|
||||
linters:
|
||||
disable-all: true
|
||||
enable:
|
||||
- bodyclose
|
||||
# - bodyclose
|
||||
- deadcode
|
||||
- depguard
|
||||
# dupl really overdid it; disabling
|
||||
|
||||
Reference in New Issue
Block a user