Each feature-* module can contain three subpackages called domain, data, and presentation. Ideally, the domain layer should not reference anything that lives inside data or presentation modules.
Therefore, to automate this, a lint check can be created to enforce this behavior.
Each
feature-*
module can contain three subpackages calleddomain
,data
, andpresentation
. Ideally, thedomain
layer should not reference anything that lives insidedata
orpresentation
modules.Therefore, to automate this, a lint check can be created to enforce this behavior.