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.

More: TypeScript rules · all community rules

Related rules

TypeScript npm library AGENTS.md

AGENTS.md for publishing TypeScript npm packages: ESM exports maps, bundling with tsdown, type checks, and changesets.

AGENTS.mdTypeScript

TypeScript strict mode rules

Cursor rules for strict TypeScript 5.9+: no any, unknown narrowing, discriminated unions, satisfies, and runtime validation.

CursorTypeScript

TypeScript Clasp Cursor Rules

Cursor rules for TypeScript development with Clasp app script integration.

CursorTypeScriptCommunity (CC0)

TypeScript Llm Tech Stack Cursor Rules

Cursor rules for TypeScript development with LLM tech stack integration.

CursorTypeScriptCommunity (CC0)

TypeScript Cursor Rules

TypeScript coding standards and best practices for modern web development

CursorTypeScriptCommunity (CC0)

Vscode Extension Dev TypeScript Cursor Rules

Cursor rules for Vscode Extension Dev Typescript.

CursorTypeScriptCommunity (CC0)

Get new rules weekly

One email a week: fresh rule files, agent tips, and what's changing in Cursor, Claude Code and Copilot. Free, unsubscribe anytime.

Opens the Rulestack Newsletter on beehiiv in a new tab. Or subscribe directly on beehiiv.