mirror of
https://github.com/containers/podman.git
synced 2025-08-06 19:44:14 +08:00
[CI:DOCS] golangci-lint: update deprecated flags
Per https://golangci-lint.run/product/changelog/#v1570 - Replace run.skip-xxx options by issues.exclude-xxx options Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
@ -40,6 +40,6 @@ for to_lint in "${to_lint[@]}"; do
|
||||
# Make it really easy for a developer to copy-paste the command-line
|
||||
# to focus or debug a single, specific linting category.
|
||||
set -x
|
||||
./bin/golangci-lint run --timeout=10m --build-tags="${!tags_var}" --skip-dirs="${!skip_var}" "$@"
|
||||
./bin/golangci-lint run --timeout=10m --build-tags="${!tags_var}" --exclude-dirs="${!skip_var}" "$@"
|
||||
)
|
||||
done
|
||||
|
Reference in New Issue
Block a user