Nx Workspace Guardrails
summary
Nx enforces actual constraints: built-in ESLint rules like enforce-module-boundaries block deep imports, circular deps and app→lib imports; project tags let you declare allowed dependency edges and get IDE feedback plus CI-blocking via affected lint. workspace-lint reconciles filesystem code with Nx project config and prevents unregistered libraries from slipping past tests. Custom workspace ESLint rules are generated and unit-tested inside the repo (example: ban providedIn:any) and run in CI to fail PRs when violations occur.
AI-written summary · about
chapters (5)
- 0:00Introduction to Nx linting
- 0:57Nx ESLint rules
- 2:38Customizing tags
- 4:14Workspace lint checks
- 6:54Creating custom rules
related talks
26mNx for Angular Developers
09mUsing Nx: Angular CLI Power-ups for Modern Development
25mGive superpower to your React workspace with Nx
29mThe balancing act of delivering high quality DX
30mSmart Monorepo and Fast CI with Nx
36mHow to scale up your angular projects like a pro
04mNrwl Sponsor Talk
09mCollaborative Code with Nx and Next.js
