sarj/graph/library-imports-application Keep libraries below applications
Libraries do not depend on application implementation.
error
Examples
product library --source-import--> applicationapplication --package-dependency--> product libraryWhy it matters
Reusable code must remain below deployable applications in the dependency graph.
How detection works
A product or shared library has a code dependency on an application.
What is inspected
- component kinds and declared code dependencies
How to fix it
Replace implementation coupling with an owned library or runtime contract.
- Reverse the dependency or move the shared contract below the application.
Verify
- Run repo-lint again and confirm the rule passes.