Import/Export Manager
When to Trigger
- •Creating new modules
- •Refactoring imports
What to Do
- •Group imports: External packages → internal (@/…) → relative (./).
- •Sort: Alphabetically within groups.
- •Remove: Unused imports.
- •Barrel exports: For folders with 3+ public files, add index.ts that re-exports (no default unless project convention).
Use path alias @/ for internal modules. Match existing style (single vs double quotes, semicolons) from project config.