mardi 29 octobre 2019

Is there a tool, which will make sure that I won't import typescript modules against the rules of clean architecture?

In clean architecture, dependencies between layers are clearly defined:

enter image description here

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