Enforce Module Boundaries
Configuring the enforce module boundaries rule
Ban Dependencies with Certain Tags
Learn how to use the notDependOnLibsWithTags property to prevent projects from depending on libraries with specific tags in your Nx workspace.
Tag in Multiple Dimensions
Learn how to use multiple tag dimensions in Nx to create more sophisticated module boundary constraints, controlling dependencies between projects based on scope, type, and other attributes.
Ban External Imports
Learn how to use ESLint module boundary constraints to prevent projects from importing specific external packages and enforce separation of concerns.
Tags Allow List
Learn how to create exceptions to your module boundary rules by configuring allow lists that permit specific imports that would otherwise be restricted.