golangci-lint: enable ginkgolinter

The ginkgolinter can detect sub-optimal usage of gomega assertions, for
example:

   Expect(len(x)).To(Equal(0)) // should be: Expect(x).To(BeEmpty())
This commit is contained in:
Patrick Ohly 2023-02-22 08:11:00 +01:00
parent 41f23f52d0
commit 8a832d960d

View File

@ -20,6 +20,7 @@ issues:
linters:
disable-all: true
enable: # please keep this alphabetized
- ginkgolinter
- gocritic
- ineffassign
- logcheck