30 lines
702 B
YAML
30 lines
702 B
YAML
# This is golangci-lint config file which is used to check new code in
|
|
# github PRs only (see lint-extra in .github/workflows/validate.yml).
|
|
#
|
|
# For the default linter config, see .golangci.yml. This config should
|
|
# only enable additional linters not enabled in the default config.
|
|
# The idea is to impose additional rules for newly added code only
|
|
# (rules we can not realistically satisfy for existing code).
|
|
|
|
version: "2"
|
|
|
|
run:
|
|
timeout: 5m
|
|
build-tags:
|
|
- apparmor
|
|
- seccomp
|
|
- selinux
|
|
- systemd
|
|
- exclude_graphdriver_btrfs
|
|
- containers_image_openpgp
|
|
|
|
linters:
|
|
default: none
|
|
enable:
|
|
- godot
|
|
- staticcheck
|
|
settings:
|
|
staticcheck:
|
|
checks:
|
|
- all
|