1
0
Fork 0
mirror of https://github.com/arangodb/kube-arangodb.git synced 2024-12-14 11:57:37 +00:00
kube-arangodb/.golangci.yaml
2022-12-22 10:49:51 +01:00

47 lines
875 B
YAML

---
run:
issues-exit-code: 3
timeout: 30m
skip-dirs:
- vendor
- .gobuild
- deps
- tools
linters:
disable-all: true
enable:
- gosimple
- govet
- ineffassign
- staticcheck
- typecheck
- unconvert
- unparam
- unused
- importas
- gci
linters-settings:
importas:
no-unaliased: true
alias:
- pkg: k8s.io/api/core/v1
alias: core
- pkg: k8s.io/apimachinery/pkg/apis/meta/v1
alias: meta
- pkg: k8s.io/client-go/kubernetes/typed/core/v1
alias: typedCore
- pkg: k8s.io/api/apps/v1
alias: apps
- pkg: k8s.io/api/batch/v1
alias: batch
- pkg: k8s.io/api/storage/v1
alias: storage
gci:
sections:
- standard
- default
- prefix(github.com/arangodb)
- prefix(github.com/arangodb/kube-arangodb)