PluginBench
Rule

typescript code convention

via PatrickJS/awesome-cursorrules

TypeScript code conventions for Node.js, Next.js, React, Expo, tRPC, and Tailwind projects.

What is typescript code convention?

Establishes TypeScript development standards across full-stack JavaScript ecosystems. Use this rule to enforce consistent naming, syntax, error handling, and styling conventions when working with Next.js App Router, React, Expo, tRPC, Shadcn UI, Radix UI, and Tailwind CSS.

  • Enforces TypeScript naming conventions and syntax standards
  • Guides error handling and validation patterns
  • Provides UI and styling conventions for Shadcn UI, Radix UI, and Tailwind CSS
  • Optimizes performance across Node.js, React, and Expo applications
  • Applies Next.js App Router best practices for data fetching and rendering
  • Supports Expo-specific development patterns and conventions

Applies to

File patterns this rule matches.

**/*
Rule definition (reference)

Source of truth, from the repository.

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.

Related rules

TypeScript, React Native, Expo, Jest, and Detox best practices for mobile development.

**/*
41k
via PatrickJS/awesome-cursorrules

TypeScript LLM development with functional programming, multi-provider architecture, and composable APIs.

**/*
41k
via PatrickJS/awesome-cursorrules

TypeScript and NestJS development with clean code principles, SOLID design, and modular architecture.

**/*
41k
via PatrickJS/awesome-cursorrules

TypeScript, Next.js App Router, Drizzle ORM, React, Daisy UI, and Tailwind development guide.

**/*
41k
via PatrickJS/awesome-cursorrules

Expert TypeScript, Next.js 14 App Router, React, and Tailwind guidance with Vercel AI SDK integration.

**/*
41k
via PatrickJS/awesome-cursorrules

TypeScript/Next.js/React/Tailwind/Supabase development guidance

**/*
41k
via PatrickJS/awesome-cursorrules