podman/.golangci.yml
Valentin Rothberg 070e401499 linter: enable interfacer
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2022-03-22 13:04:34 +01:00

74 lines
1.2 KiB
YAML

---
run:
concurrency: 6
deadline: 5m
skip-dirs-use-default: true
skip-dirs:
- contrib
- dependencies
skip-files:
- swagger.go
modules-download-mode: readonly
linters:
enable-all: true
disable:
# All these break for one reason or another
- nolintlint
- gocognit
- testpackage
- goerr113
- exhaustivestruct
- errorlint
- wrapcheck
- paralleltest
- wsl
- godox
- tparallel
- gomnd
- nlreturn
- noctx
- nestif
- predeclared
- thelper
- ifshort
- staticcheck
- forbidigo
- exhaustive
- unparam
- gofumpt
- gci
- godot
- makezero
- dupl
- funlen
- gochecknoglobals
- gochecknoinits
- goconst
- gocyclo
- lll
- unconvert
- errcheck
- gocritic
- gosec
- maligned
- gomoddirectives
- revive
- containedctx
- contextcheck
- cyclop
- errname
- forcetypeassert
- ineffassign
- ireturn
- tagliatelle
- varnamelen
- errchkjson
- maintidx
- nilerr
- wastedassign
- nilnil
linters-settings:
errcheck:
check-blank: false
ignore: encoding/json:^Unmarshal,fmt:.*