Skip to content

Latest commit

 

History

History
6 lines (6 loc) · 607 Bytes

File metadata and controls

6 lines (6 loc) · 607 Bytes
  • Path Aliases: Always use the @ import alias instead of relative paths when importing from other files in this project.
    • ✅ Use: import authClient from '@/lib/authClient.ts'
    • ❌ Avoid: import authClient from '../lib/authClient.ts' or import authClient from '../../lib/authClient.ts'
    • The @ alias maps to ./src/* and is configured in tsconfig.json and vite.config.ts
    • This keeps imports cleaner, more maintainable, and consistent across the codebase
    • Only use relative paths for imports from external packages (node_modules) or when importing files in the same directory