Enforce linter to not cross packages #12987
Labels
area/ci-cd
kind/improvement
Improvement on an existing feature
triage/accepted
The issue was reviewed and is complete enough to start working on it
Description
While working on: #12982
I've noticed an import from
test/
intopkg/
this should never happen even for tests there's a pkg/test package already designed for these kind of things.Same thing for
app/
orapi/
they should have strong linter rules to provide good logic separation.golangci-lint has ways to restrict imports. We should add this:
kuma/.golangci.yml
Lines 92 to 101 in b1c0b13
The text was updated successfully, but these errors were encountered: