Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 401 Bytes

no-submodule-imports.md

File metadata and controls

13 lines (7 loc) · 401 Bytes

Pattern: Restricted submodule import

Issue: -

Description

Disallows importing any submodule.

Rationale: Submodules of some packages are treated as private APIs and the import paths may change without deprecation periods. It’s best to stick with top-level package exports.

Further Reading