AcademyRulesDevelopment

TypeScript Code Convention Cursor Rules

Development teams on a Next.js and Expo stack who want Cursor to follow shared code conventions.

  • Recommendedour rating
  • 40,892repository stars
  • CC0-1.0licence
  • 4 months agolast update
mkdir -p .cursor/rules && curl -fsSL https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/typescript-code-convention-cursorrules-prompt-file.mdc -o .cursor/rules/typescript-code-convention.mdc
typescript-code-convention.mdc

Loading the file...

What it does

A Cursor rules file for projects built with TypeScript, Node.js, Next.js App Router, React, Expo, tRPC, Shadcn UI, Radix UI and Tailwind. Its outline covers code style, naming, TypeScript usage, formatting, error handling, UI and styling, and performance, and points to the Next.js and Expo docs.

Use cases

  1. 01Keep naming and file structure consistent
  2. 02Build UI with Shadcn UI, Radix UI and Tailwind
  3. 03Follow Next.js App Router patterns for data fetching

Questions about
TypeScript Code Convention Cursor Rules.

What is TypeScript Code Convention Cursor Rules used for?

Development teams on a Next.js and Expo stack who want Cursor to follow shared code conventions. A Cursor rules file for projects built with TypeScript, Node.js, Next.js App Router, React, Expo, tRPC, Shadcn UI, Radix UI and Tailwind. Its outline covers code style, naming, TypeScript usage, formatting, error handling, UI and styling, and performance, and points to the Next.js and Expo docs.

How do I install TypeScript Code Convention Cursor Rules?

Run this in your terminal: mkdir -p .cursor/rules && curl -fsSL https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/typescript-code-convention-cursorrules-prompt-file.mdc -o .cursor/rules/typescript-code-convention.mdc

Is TypeScript Code Convention Cursor Rules open source?

Yes. The code is on GitHub (PatrickJS/awesome-cursorrules) under the CC0-1.0 licence.

Is TypeScript Code Convention Cursor Rules safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.