Expand description
high-fan-out native rule — flags files that import from too many other files.
High fan-out is a structural design smell: a file coupled to many others becomes a change magnet and makes the system harder to reason about in isolation.
Requires the structural index (normalize structure rebuild).
§Configuration
[rules.rule."high-fan-out"]
threshold = 15 # default: 20Functions§
- build_
high_ fan_ out_ report - Build a
DiagnosticsReportfor thehigh-fan-outrule.