tdymel/arch_test

Simple configuration

Closed this issue · 2 comments

Is there a simple configuration, which warns for all cyclic dependencies in all files of a project?
I don't want to have to specify every single file and just disallow cyclic dependencies in my crate in general.

Hey @porky11 ,
You can use NoModuleCyclicDependencies this should disallow cyclic dependencies on module level, i.e. per file.

Keep in mind that this is less restrictive than prohibiting cylic dependencies layerwise, given you have defined layers.

It also ignores unused re exports. I wonder If I should make this an option :/

Hey @porky11 ,
I would close this issue then in a few days, if you have no further questions :)