better-auth/.cursor/rules/naming-coventions.mdc

11 lines
341 B
Text
Raw Normal View History

2025-10-29 13:43:43 +05:00
---
description:
globs:
alwaysApply: true
---
This rule describes what naming conventions to use for files, folders, components and methods.
- Use lowercase with dashes for directories (e.g., components/auth-wizard).
- Use PascalCase for component names
- Use camelCase for variables and method names
- Favor named exports for components.