You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering if I was missing something, but is there a simple contract type to simply say this module should not import any other module? For example, a module of constants? This avoids the need for having to define all the modules that are within a project.
Thanks, and sorry if this is a dumb question. I appreciate your time and help.
The text was updated successfully, but these errors were encountered:
There is an open ticket for that and indeed a pull request submitted by @sbrugman. I have left comments but unfortunately it seems to have gone stale.
In the meantime you could look at a layers contract with that module being the lowest layer. You'd have to explicitly list the other sibling modules though. You could also do it with not too much code as a custom contract. Or - even simpler - just grep for the work import in a completely custom script!
👋 Thanks for the great library!
I was wondering if I was missing something, but is there a simple contract type to simply say this module should not import any other module? For example, a module of constants? This avoids the need for having to define all the modules that are within a project.
Thanks, and sorry if this is a dumb question. I appreciate your time and help.
The text was updated successfully, but these errors were encountered: