Hi, do someone knows of any Kotlin linter which al...
# announcements
j
Hi, do someone knows of any Kotlin linter which allow you to fail the build if you have imports of a given package in another's package code?
👍 1
j
That is cool, but I wanted something like: don't allow to import
com.example.controller.*
inside
com.example.model.*
s
I guess you can basically achieve that using a multi-project build where you don't put the controller project in the model's project dependencies
j
That is a nice approach, however I would prefer to achieve it in the same module. But seems to be hard to do out-of-the-box... I'm going to check Detekt custom rules