mirror of
https://github.com/containers/podman.git
synced 2025-08-06 19:44:14 +08:00

* Added support for system service * Enabled linting on the varlinkapi source, needed to support V2 service command * Added support for PODMAN_SOCKET Skip linting deprecated code Rather than introduce bugs by correcting deprecated code, linting the code is being skipped. Code that is being ported into V2 is being checked. Signed-off-by: Jhon Honce <jhonce@redhat.com>
35 lines
542 B
YAML
35 lines
542 B
YAML
---
|
|
run:
|
|
concurrency: 6
|
|
deadline: 5m
|
|
skip-dirs-use-default: true
|
|
skip-dirs:
|
|
- contrib
|
|
- dependencies
|
|
- test
|
|
- pkg/varlink
|
|
- pkg/varlinkapi
|
|
skip-files:
|
|
- iopodman.go
|
|
- swagger.go
|
|
linters:
|
|
enable-all: true
|
|
disable:
|
|
- dupl
|
|
- funlen
|
|
- gochecknoglobals
|
|
- gochecknoinits
|
|
- goconst
|
|
- gocyclo
|
|
- golint
|
|
- gosec
|
|
- lll
|
|
- maligned
|
|
- misspell
|
|
- prealloc
|
|
- unparam
|
|
linters-settings:
|
|
errcheck:
|
|
check-blank: false
|
|
ignore: encoding/json:^Unmarshal,fmt:.*
|