kata-containers/tests/.golangci.yml
Hyounggyu Choi 80cb4a6c18 build: Update golang version to 1.22.2
As we have an issue with a golang version for `run-cri-containerd`,
it is required to bump the language.

Signed-off-by: Hyounggyu Choi <Hyounggyu.Choi@ibm.com>
2024-04-26 15:50:29 +02:00

35 lines
478 B
YAML

# Copyright (c) 2017 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
run:
concurrency: 4
deadline: 600s
issues:
exclude-dirs:
- vendor
exclude-files:
- ".*\\.pb\\.go$"
linters:
disable-all: true
enable:
- gocyclo
- gofmt
- gosimple
- govet
- ineffassign
- misspell
- staticcheck
- typecheck
- unused
linters-settings:
gocyclo:
min_complexity: 15
unused:
check-exported: true
govet:
enable: