Simple configuration
Closed this issue · 2 comments
porky11 commented
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.
tdymel commented
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 :/