We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 877f768 commit b6bae36Copy full SHA for b6bae36
.golangci.yml
@@ -220,6 +220,11 @@ issues:
220
- path: controller/suite_test.go
221
linters:
222
- gci
223
+ # Exclude goimports check for controller tests that import both mocktest and ginkgo/gomega as dot imports.
224
+ # goimports wants mocktest as a dot import in a separate group, but gci wants them in the same group.
225
+ - path: controller/.*_controller_test.go
226
+ linters:
227
+ - goimports
228
229
# These are performance optimisations rather than style issues per se.
230
# They warn when function arguments or range values copy a lot of memory
0 commit comments