In clean architecture, dependencies between layers are clearly defined:
Code in inner circles should not import from outside circles. Is there a tool for JS or TS to check if there are some imports from "illegal" directories?
So, for example, to make sure, that in domain directories, are no imports from infrastructure, but to allow importing stuff from domain in infrastructure module...

Aucun commentaire:
Enregistrer un commentaire