Skip to content

Rule: Public API gained an internal dependency

Canonical rule slug: public-api-gains-internal-dependency. ← back to all rules

A public declaration starts depending on an internal one, so the supported surface is no longer self-contained.

Canonical demonstration

Variants

The same rule demonstrated under a different condition.

Used by scenarios