mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-03-09 08:59:30 +00:00
Several packages are only used while running the e2e suite. These packages are less important to update, as the they can not influence the final executable that is part of the Ceph-CSI container-image. By moving these dependencies out of the main Ceph-CSI go.mod, it is easier to identify if a reported CVE affects Ceph-CSI, or only the testing (like most of the Kubernetes CVEs). Signed-off-by: Niels de Vos <ndevos@ibm.com>
31 lines
558 B
YAML
31 lines
558 B
YAML
linters:
|
|
enable:
|
|
- exportloopref # Checks for pointers to enclosing loop variables
|
|
- gofmt
|
|
- goimports
|
|
- gosec
|
|
- ineffassign
|
|
- misspell
|
|
- nolintlint
|
|
- revive
|
|
- staticcheck
|
|
- tenv # Detects using os.Setenv instead of t.Setenv since Go 1.17
|
|
- unconvert
|
|
- unused
|
|
- vet
|
|
- dupword # Checks for duplicate words in the source code
|
|
disable:
|
|
- errcheck
|
|
|
|
run:
|
|
timeout: 5m
|
|
skip-dirs:
|
|
- api
|
|
- cluster
|
|
- design
|
|
- docs
|
|
- docs/man
|
|
- releases
|
|
- reports
|
|
- test # e2e scripts
|