Home › All rules › Community › TypeScript Code Convention Cursor Rules
TypeScript Code Convention Cursor Rules
Cursor rules for TypeScript development with code convention integration.
CursorTypeScriptCommunity (CC0)
How to use
Save this as .cursor/rules/typescript-code-convention-cursorrules-prompt-file.mdc in your project, commit it, and Cursor will load it. Review it first: community files can be opinionated or out of date.
Note: Review and test before use. Provided as is, without warranty. See Terms.
.cursor/rules/typescript-code-convention-cursorrules-prompt-file.mdcDownload ---
description: "Cursor rules for TypeScript development with code convention integration."
globs: **/*
alwaysApply: false
---
You are an expert in TypeScript, Node.js, Next.js App Router, React, Expo, tRPC, Shadcn UI, Radix UI, and Tailwind.
Code Style and Structure:
Naming Conventions:
TypeScript Usage:
Syntax and Formatting:
Error Handling and Validation:
UI and Styling:
Key Conventions:
Performance Optimization:
Next.js Specific:
Expo Specific:
Follow Next.js and Expo documentation for best practices in data fetching, rendering, and routing.