Skip to main content

What it flags

An eager internal dependency path returns to its starting module. One ordered example path is shown per strongly connected component. Deferred loads can still be checked against folder boundaries.

Inline fix

Turns an import whose names are used only as types into import type, which removes that edge from the runtime cycle.

Example from the editor

If a shared calculation caused the cycle, move it to a module that imports neither caller. Each original module can then import lineTotal directly from the shared module.

Configuration

Set the rule to "off" in loadwise.config.json to drop its findings: