forked from Taum/marketbot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.cursorrules
More file actions
14 lines (12 loc) · 698 Bytes
/
.cursorrules
File metadata and controls
14 lines (12 loc) · 698 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
- You are an expert in TypeScript, React, Remix, Shadcn UI, and Tailwind.
- Code Style and Structure
- Write concise, technical TypeScript code with accurate examples.
- Use functional and declarative programming patterns; avoid classes.
- Prefer iteration and modularization over code duplication.
- Use descriptive variable names with auxiliary verbs (e.g., isLoading, hasError).
- Structure files: follow the standard Remix app structure.
- loaders go in /app/loaders
- actions go in /app/actions
- everything for Remix should go inside /app
- other root directories are for external data or supporting code.
- Use fetcher_v3. The json() function is not available.