Closed pohly closed 1 year ago
User error...
I misinterpreted https://golangci-lint.run/usage/linters/#ginkgolinter: my reading was that suppress-len-xyz: true
would suppress the issue in the code base, i.e. enable that check. It's the opposite, the check is on by default and can be disabled.
I would have preferred a configuration as in https://golangci-lint.run/usage/linters/#errorlint where "true" means "enable the check", but that could just be me making lame excuses for not reading properly :sweat_smile:
(-: Thanks for trying it out!
Describe the bug
I tried ginkgolinter through golangci-lint v1.51.2 on the Kubernetes E2E test suite. It didn't report anything, not even after intentionally introducing an issue.
To Reproduce
test/e2e/storage/testsuites/subpath.go
:hack/verify-golangci-lint.sh ./test/e2e/storage/testsuites
Once
hack/verify-golangci-lint.sh
has been used once, it is also possible to invokegolangci-lint
manually:Expected behavior
It should report the issue
Environment:
Additional context Add any other context about the problem here.